AutoFetch and URL rendering

(Keith Lancaster) #1

I have been experimenting with using the URL attribute in conjunction with the AutoFetch attribute. The website in the URL is retrieved and the content is visible, however the rendering of the site does not match the rendering in the browser. If the rendering cannot be improved for whatever reason, is there a way to have TB just pull the raw text (no CSS)?

(Mark Anderson) #2

Fetch for what purpose - just reading or for re-use of the text? Modern web pages now use a lots of client side Javascript to create the final render and I’m guessing this is the cause of the disconnect. If you want to see the ‘true’ render, try ticking $ViewInBrowser for the note. Setting the latter opens $URL in your Mac’s web browser rather than in the note itself.

(Keith Lancaster) #3

The goal really is to have the text for re-use. I tried setting $ViewInBrowser=true in the Rule and I get a system error message “There is no application set to open the URL %@.” The URL attribute is populated correctly. Any idea what might be going on?

(eastgate) #4

No – we can’t interpret CSS in Tinderbox. Set $ViewInBrowser to true and make sure the URL includes the protocol – http:// or https:// .

(Keith Lancaster) #5

Just as a check, I just created a new empty TB doc and dragged a url from the Chrome browser to the map view. As expected, the URL attribute was populated and included http://. I then added $ViewInBrowser=true to the rule for the note. I get the same error message as in my other document. Here’s the example tbx file:

(Mark Anderson) #6

I can confirm this error.

(Eric Brown) #7

I, too, have encountered this error.

(eastgate) #8

Got it. It’ll be fixed in the next release.

(Andreas Grimm) #9

Thank to all involved for: finding, reporting, and fixing.