如下所述,這是為永久構建示例客戶端的早期努力。它沒有由常任團隊維護或積極開發。
Permanent.org是一個數字文件保護平台 - 為所有人類建造,以永久存檔其數字遺產。該應用程序包含許多功能,允許用戶自定義他們如何保留文件,例如私人共享,加密保管庫和公共部分,該部分允許任何人與世界共享他們的故事。
但是,文件不會自己講故事。雖然添加標題和描述有所幫助,但以精美的方式(例如時間表或馬賽克)展示內容是分享記憶和個人歷史的一種更有效的方式。這些“觀點”,正如我們稱之為他們的那樣,任何人都可以動態捕捉其內容的敘事並真正講述他們的故事。
在您的幫助下,我們可以創建更多這些觀點,以幫助任何人講述他們的故事。我們在一起可以使人們更容易捕捉人類的歷史,就像人們想要的那樣。
永久遺產客戶端API是由HTML和JavaScript組成的框架。當前的設計旨在非常輕巧,並且僅限於為penernent.org上託管的內容創建視圖的目的。隨著撰稿人社區的發展,API將發展為支持許多功能,包括與permanent.org rest API接口。
請訪問下面的鏈接以了解有關我們的願景的更多信息,並查看一些已經構建的觀點的示例。
https://www.permanent.org/vision/
permanent.org是同類雲存儲平台。以人類的身份建立。隨著我們越來越多的內容變為數字,我們是世界對可靠,安全和永久數據存儲所需的解決方案。我們需要您的幫助來真正改變我們的數字數據的處理方式,我們很想炫耀您的工作,並共同創造(並捕獲!)歷史。
https://www.permanent.org/about/
加入我們的團隊,將您的凹痕放在宇宙中。
首先,您使用此API和HTML指令創建視圖。接下來,我們的團隊將審查它以進行質量控制。然後,將接受視圖將其納入視圖畫廊。該視圖將自動綁定到文件夾中的數據。只需使用以下HTML指令即可在系統中工作。
不需要先前的編碼技能,但是HTML和CSS的一些基本知識肯定會有所幫助。要構建視圖,請使用框架HTML指令。無需Java腳本技能。
使用https://thimble.mozilla.org/等在線編輯器
或更高級一些並設置本地http服務器,例如:https://www.npmjs.com/package/http-server
permanent-data
This is how data is loaded for testing your views.
<body permanent-data="ex1_data.json" >
permanent-popup
If you want to have a pop up page for showing a single file
set the name of your pop up html page.
<body permanent-popup="popup.html">
permanent-profile
Bind an element to the Profile data object.
<div permanent-profile>
<img p-src="profile.thumbnail">
<div p-bind="profile.archiveNbr"></div>
<div p-bind="profile.fullName"></div>
</div>
p-src
Bind an HTML image tag source.
<img p-src="profile.thumbnail" class="profile-img">
p-bind
Bind some data field.
<div p-bind="profile.archiveNbr"></div>
permanent-view
Declare a view region.
<div permanent-view></div>
p-repeat
For repeating items in a list.
<div p-repeat="folder in Folders">
<img p-src="folder.thumbnail">
<div p-bind="folder.name" ></div>
</div>
p-bkgrd
Setting an element's background image source.
<div p-bkgrd="file.thumbnail" ></div>
p-click
Enable this HTML element to be clicked.
<div p-repeat="file in Files" p-click="file">
</div>
可以在此存儲庫的示例文件夾中找到一個完整的示例。
讓我們建造一些偉大的東西。