How to create an Atom Feed for your TiddlyWiki

139 views
Skip to first unread message

Scott Kingery

unread,
Sep 2, 2019, 1:37:14 AM9/2/19
to TiddlyWiki
I've developed a simple system for creating an atom feed for your TiddlyWiki. Even single HTML file wikis. It's really just a formatted filter list but it will enable you to copy and paste the text to an atom.xml file. So, not completely automated but if you want a feed, it should work. 

TonyM

unread,
Sep 2, 2019, 2:29:25 AM9/2/19
to TiddlyWiki
Scott,

Thanks for sharing. Would it be easy to have one for RSS as well?

Regards
Tony

@TiddlyTweeter

unread,
Sep 2, 2019, 4:10:15 AM9/2/19
to TiddlyWiki
Scott

Really interesting! 

Note sure if you were aware that there are other atom.xml makers, though for node TW, not standalone.That, I guess, is because, on node you can auto-output the xml file. 

On TW stand-alone its a bit more problematic to automate because, even if you made a one-click custom exporter to save it, it would end up in a directory defined by the browser download mechanism, which may not be ideal for uploads--though no way a final problem.

??But I do think that maintenance of feeds needs to be as automatic as possible??


TT

Sycom

unread,
Sep 2, 2019, 6:00:48 AM9/2/19
to TiddlyWiki
Find this pretty interesting. As is your whole TW5 Tribal Knowledge wiki by the way. Pretty nice ressource!

Side note about my version of atom-feed (https://sycom.github.io/TiddlyWiki-Plugins/#%24%3A%2Fplugins%2Fsycom%2Fatom-feed) : it's far from finished know, since I'm working on a more automated and integrated publishing system via gitlab. Please consider it pre-alpha.

This thread reminds me that https://tiddlywiki.com has no more rss/atom feed for a long time. Since it is know regularly updated, it would be a good idea to re-enable it, wouldn't it?

cheers,

Sylvain
@sycom

Scott Kingery

unread,
Sep 2, 2019, 11:06:32 AM9/2/19
to tiddl...@googlegroups.com
Tony,
Sure. Shouldn't be too hard. When I get some time I'll work on this.

Thanks for the suggestion.

Scott

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/662ffaaa-d3ab-46d9-bfd0-1ca19f764d7e%40googlegroups.com.

Scott Kingery

unread,
Sep 2, 2019, 2:21:06 PM9/2/19
to tiddl...@googlegroups.com
TT

I am aware of the one from dullroar. Seems to be for the node version.  Wasn't away of Sycom's so thanks for that.

I realize my solution is far from ideal. Especially for the non-technical types. Mostly it answered my own curiosity of whether it could be done in a simple way like this and I learned a few things in the process so it was a fun little project.

This actually builds on an idea I have of using similar functionality to create a sitemap.xml document that could be submitted to Google or other search engines to help get your wiki indexed. I could build the xml but the problem with stand alone html tiddlywikis is that that don't present static pages as the node version does. So basically each page presents the whole wiki to a search engine. I may do it just to do it but not sure how effective it would be in the long run.

Scott

Scott

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.

@TiddlyTweeter

unread,
Sep 2, 2019, 3:35:19 PM9/2/19
to TiddlyWiki
Scott Kingery wrote:
... the problem with stand alone html tiddlywikis is that they don't present static pages .... So basically each page presents the whole wiki to a search engine. I may do it just to do it but not sure how effective it would be in the long run.

Right. I'm not sure either. Seem two aspects? Saving with pointers to tiddlers (useful). What search engines do with it (not so clear). 

But basically its interesting & you close to sorting it. Often with TW we faced with the puzzle of networking. I do think nice feeds is part of addressing that?

Thoughts
TT 

Scott Kingery

unread,
Sep 2, 2019, 10:42:37 PM9/2/19
to TiddlyWiki

TonyM

unread,
Sep 2, 2019, 10:56:53 PM9/2/19
to TiddlyWiki
Scott,

Thanks so much for responding to the rss request, I only asked because I expected it to be close to atom.

Perhaps the rss/atom feeds are looked at by search engines?

I have being considering sitemap.xml as well. Search engines may very well open tiddlywiki for every "url" in th sitemap, it may judge them too big. My feeling is if you want to enhance search engine access you do need to host static html tiddlers in addition to the wiki. Be it automatically with node or via export with single file, however I want to change the template(s) used, so all links in the resulting static tiddlers point to the tiddlers in the wiki. Thus all wiki.com/tiddlername static tiddlers are named in the sitemap.xml , the search engine will extract content, but on opening one of these every link with then open the master wiki /tiddler(s) for full functionality wiki.com/#tiddlername

I think this will be the best hybrid.

wiki.com/folder/tiddlername (Static in sitemap.xml)

If the single file wiki is hosted on php say with tw-receiver I believe we can find a way, even a html/php form that will submit/save sitemap.xml, rss and atom feeds and possibly even static tiddlers with a little work. Methods should also be possible on other servers.

This does not break the single file model because these are simply supplementary files that complement the real site, can be done without, but if present will boost searchability.

Regards
Tony
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.

David Gifford

unread,
Sep 3, 2019, 2:48:44 PM9/3/19
to TiddlyWiki
Added this to the Toolmap, under "Iframes and embedding media" and under a new category "Feeds"

Scott Kingery

unread,
Sep 3, 2019, 4:24:55 PM9/3/19
to tiddl...@googlegroups.com
Tony,
Just brainstorming... we could put in some kind of variable that ask the user if this is a stand-alone html wiki or a node.js wiki and then based on that, build the links with the # character or not. 

Can you export a "static" site from an html single file tiddlywiki? I thought that was only possible from something like node.js.

Scott


To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/20cf3720-2c68-4a5d-a489-eeb9e9832659%40googlegroups.com.

TonyM

unread,
Sep 3, 2019, 7:28:38 PM9/3/19
to TiddlyWiki
Scott,

You can export static tiddlers, but to do them in bulk from a single file wiki I am not so sure. It would be possible with work but not now I suspect. 

I was overly brief. It can be done if you maintain the wiki in node and exported the static tiddlers + the single file wiki for hosting but my comments was calling for this facility, but needs further development. Especially the template that links to the full wiki from static tiddlers.

Regards
Tony


On Wednesday, September 4, 2019 at 6:24:55 AM UTC+10, Scott Kingery wrote:
Tony,
Just brainstorming... we could put in some kind of variable that ask the user if this is a stand-alone html wiki or a node.js wiki and then based on that, build the links with the # character or not. 

Can you export a "static" site from an html single file tiddlywiki? I thought that was only possible from something like node.js.

Scott


Reply all
Reply to author
Forward
0 new messages