-
Notifications
You must be signed in to change notification settings - Fork 144
Import (pre 0.79)
The site indexer of WebScrapBook supports reading metadata from ScrapBook X. You can simply enter the site indexer and pick a ScrapBook X folder to build a site index. After that the original ScrapBook X data tree will be available using the generated tree/map.html or tree/frame.html.
After the site index is built, ScrapBook X config files can, and would better, be deleted, especially the scrapbook.rdf file in the main directory, to avoid a potential confusion when you build site index repeatedly in the future.
Say you want to import C:\User\Test\ScrapBook to C:\User\Test\WebScrapBook:
- Copy
C:\User\Test\ScrapBooktoC:\User\Test\WebScrapBook. - All files and folders other than
data/,icon/,scrapbook.rdf, and manually created ones inC:\User\Test\WebScrapBookare meaningless to WebScrapBook (and there's no plan to support them in the future), and you can safely delete them. (You can still leave them alone for future reference, though.) - Enter the site indexer (
toolbar button > Generate site index). - Drag
C:\User\Test\WebScrapBookfolder into the tab of the site indexer, and wait for the indexing to complete. - Extract the contents of the generated ZIP pack to
C:\User\Test\WebScrapBook. - Open
C:\User\Test\WebScrapBook\tree\map.htmlorC:\User\Test\WebScrapBook\tree\frame.htmland check if you can see the original ScrapBook X data tree. If yes, you are done. - Delete
C:\User\Test\WebScrapBook\scrapbook.rdfto avoid a conflict on future indexing ofC:\User\Test\WebScrapBook.
If you have planned to run backend server for C:\User\Test\WebScrapBook, you can follow the above procedure and run backend server for C:\User\Test\WebScrapBook afterwards, or alternatively do following procedure:
- Copy
C:\User\Test\ScrapBooktoC:\User\Test\WebScrapBook. - Optionally remove files and folders other than
data/,icon/,scrapbook.rdf, and manually created ones inC:\User\Test\WebScrapBook. (See step 2. above) - Run backend server for
C:\User\Test\WebScrapBook. Go totoolbar button > Optionsand set address, user, and password for the backend server. - Enter the site indexer (
toolbar button > Generate site index). - Click
Index for server, and wait for the indexing to complete. - Go to
toolbar button > Open scrapbook(if already opened, click↻to refresh), and check if you can see the original ScrapBook X data tree. If yes, you are done. - Delete
C:\User\Test\WebScrapBook\scrapbook.rdfto avoid a conflict on future indexing ofC:\User\Test\WebScrapBook.