Comments (2)
I noticed the same thing when testing the BrainTool (BT) converter utility on a Tabs Outliner (TO) export a while back đ
@trespda, can you document what version of Chrome + TO + BrainTool + the converter you used, ie: online?
As for me, I am on Chrome 121 + BT 0.9.9 + TO 1.4.141 and today in TO I noticed (once again) that I am unable restore (double-click) ANY bookmark from a "Saved Window" node (<li id="savedwin" class="nodeTitleAndSubnodesContainer savedwinNTASC NTASC-windowFrame currentNode">
in the TO HTML code) that consists of 262 nodes đą (the issue seems inconsistent and I do not know the cause). I fear I will soon lose the ability to access any of this data!
@tconfrey, Any way you can bump up the priority on this to get the converter to support the importing of TO Notes? đ đŋ TO notes node export from TO is vital as TO is more than just a collection of bookmarks!
FWIW, it seems TO Notes nodes have a DOM structure that consist of a child <span class="tab_comment">
tag nested under the <span class="node_text savedtab_text" draggable="true">
tag that saves the page title (which itself is nested under an <a class="nodeTitleContainer savedtabNTC NTC-tabFrame nosubnodes currentNode" ... >
anchor tag).
Here is a complete <li>
savedtabundefined
node example excerpt below (âšī¸ N.B, base64 data redacted for privacy + formatted/indented for better readability)
<li id="savedtabundefined" class="nodeTitleAndSubnodesContainer savedtabNTASC NTASC-tabFrame currentNode">
<a class="nodeTitleContainer savedtabNTC NTC-tabFrame nosubnodes currentNode" href="chrome-extension://noogafoofpebimajpfpamcfhoaifemoa/suspended.html#ttl=Foo&pos=0&uri=https://foo.bar/baz" tabindex="1">
<img class="node_favicon savedtab_favicon" data-icon-src-deffered-load="data:image/png;base64,redacted" src="data:image/png;base64,redacted" />
<span class="node_text savedtab_text" draggable="true">
<span class="tab_comment">#Foo comment</span>
Foo page name
</span>
</a>
</li>
In the example above #Foo comment
is a comment I added and want to import (N.B, the hashtag #
was added by me- the user, and just a way for me to more easily restrict Chrome "Find..." searches to just the TO notes/comments).
Perhaps these can be mapped to BT tags/notes? (not sure what the exact terminology or syntax/structure BT uses when it generates its equivalent Org-mode file... although I did find this screenshot in the docs):
Hope this helps to implement the parsing of above such nodes in https://github.com/tconfrey/BrainTool/blob/master/utilities/converters.js (perhaps some sort of XPath expression could be used to extract out the nested <span>
node's value?)
Please let me know if you need any additional information!
from braintool.
Hi @bkmdev and @trespda
I tweaked the TabsOutliner import and it shoudl now handle copying over notes added to tab nodes. Note that I import from the exported tree file which is in JSON format I don't look at the TO dom structure.
Make sure you reload BT to get the changes and LMK if you continue to see errors.
from braintool.
Related Issues (20)
- Filing to multiple new subtrees fails HOT 2
- Pressing enter in heading field breaks org link HOT 2
- Editing entry with hybrid heading (link and text) changes heading when updated HOT 1
- [Idea] Control Chrome from emacs HOT 3
- Roadmap to a Firefox port? HOT 6
- Keyboard short improvements (and UX feedback) HOT 3
- ambiguous error message
- Is it possible for Braintool to support store file in Dropbox? HOT 5
- Import / Export to local Org.file Keyboard shortcut
- BT does hang on first start - ungoogled/safe mode available? HOT 1
- Please recognize Fragment of the URL (after #)
- Allow links to be nested under other links HOT 1
- Some sections of UI cut off
- Selection of child topics within BrainTool Saver does not seem to work in all cases
- wrong visualization in topic manager
- HTML tags in bookmarked titles not sanitized, displaying as actual elements in the UI
- BT thinks a url has already been added HOT 5
- Stuck. Removed extension and reinstalled to resolve HOT 2
- Using the TabsOutliner converter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from braintool.