Link verification #5819
Replies: 2 comments 4 replies
-
I can think of this function as a plugin. .. The problem is, it will "eat" a lot of bandwidth, just to give a different colour to an external link. ... For some users this may be a no-go. .. From my point of view, this is a "waste of resources", if it is done automatically and always. I could think about a function like this, that is manually activated eg: every 4 to 6 months. So we would need a function in the core, that will "scan all tiddlers for external links" and a widget eg: <$scan-links> with the same parameters as <$links> ... There is 1 more technical problem. ... If you load several 100 links from the same provider or URL in a very fast pace, it may be interpreted as an attack. ... So the logic needs to take care of this behaviour. Last but not least a bit of maths.
To check if the links exist we will download about 4GigaByte of content. ... Sure that is done only the first time, if browser caching is allowed. ... BUT with my mobile account this will need my data volume for 2 months. ... Some users may also throw away the browser cache when the browser is closed. ... So this may be an even bigger problem, we need to think about. |
Beta Was this translation helpful? Give feedback.
-
Just to clarify that it would only be possible to verify links under Node.js. Browser security restrictions make it impossible for us to check URLs when running standalone in the browser. |
Beta Was this translation helpful? Give feedback.
-
Folks,
We can freely quote external urls in tiddlywiki. People are making large bookmark libraries and more.
The problem with external links is they can die, and when they do we may want to identify this and find its new address if possible.
I am wondering if there is a way in tiddlywiki already or by plugin or core change where we could have external links tested and indicated if an error is returned without needing to click and follow that link? Its like how a visited link changes color, could wee make its so dead links are marked as such?
Regards
Tony
Beta Was this translation helpful? Give feedback.
All reactions