vctfence / scrapbee

Mozilla Public License 2.0
40 stars 22 forks source link

Feature request: Output Tree as HTML #41

Closed BlindB0 closed 4 years ago

BlindB0 commented 4 years ago

Is it possible to implement this feature as it was in original scrapbook? It will be usefull to export the whole collection into own server to access from everywhere.

vctfence commented 4 years ago

Possible in theory, but may not provide this in a short time.

BlindB0 commented 4 years ago

Ok, thanks. I will wait. By now I made it by install old firefox & old scrapbook, then export tree there.

vctfence commented 4 years ago

Hi, I pushed new code for "exporter", can you please try it in "debug mode"? You can clone or download the code, disable the current scrapbee addon, then load the code in about:debugging#/runtime/this-firefox.

It's better to export the settings at first, because the settings may be removed sometimes.

vctfence commented 4 years ago

image1 image2

BlindB0 commented 4 years ago

Hi! I made it. But no luck in my case. ` [info] version = 1.12.0

[info] browser = Firefox 79.0

[info] platform = Win32

[info] start backend service on port 9900.

[info] backend service started (caller: background), version = unknown (wanted >= 1.7.0)

[info] show rdf list

[info] switch to rdf "G:\dropbox\scrapbook\scrapbook.rdf"

[info] rdf loaded in 75ms ` RDF shows fine in side panel, but no tool in Tool panel works. I cannot choose source rdf to export tree. scrap2

Node Mover doesn`t see rdf either.

I can try it on ubuntu 20.04 x64 later.

vctfence commented 4 years ago

Hi, can you try to reload this page to see if it shows rdfs?

BlindB0 commented 4 years ago

Completely empty profile, no custom options. Only ScrapBook extension. English Firefox 79.0 (x64) this time, Win7 x64. All the same after multiple reload page. scrap1

vctfence commented 4 years ago

Okey, the backend is outdated, please update. Then it will be 1.7.1 instead of unknown.

=> [info] backend service started (caller: background), version = unknown (wanted >= 1.7.0)

BlindB0 commented 4 years ago

With updated backend it works just fine on rdf with over 600 nodes. Thanks for your work! Can you plz add fold/unfold feature to exported html? And favicons.

vctfence commented 4 years ago

All right, this is just a overview, suggestions are welcome.

vctfence commented 4 years ago

Please try my last push.

BlindB0 commented 4 years ago

Last push works perfect. Fold/unfold and favicons.

vctfence commented 4 years ago

Released in version 1.12.1.