Syndicate a Tag in RSS

Jul 10, 2006 23:08

I’ve wanted to do this for a long time, and I didn’t notice any particular way to do it already, either on LJ or in Google. So I did it myself:

LiveJournal RSS Tag Syndication

Basically, it allows you to make an RSS feed for any particular set of tags on any journal. I haven’t tested it much, but it seems to work well for me. It’s also not very ( Read more... )

Leave a comment

Comments 16

xb95 July 11 2006, 07:12:06 UTC
Why not submit a patch to do this in LJ? Would be really easy.

How does this work? Do you get the RSS feed for the journal, then just parse it and return only the items that match the tag?

Reply

avatraxiom July 11 2006, 07:53:31 UTC
Yeah. I use XML::Simple to grab the feed, and I just delete any that doesn't have the right .

I may submit a patch; I haven't delved into the LJ code that much.

-Max

Reply


unforeseenfury July 11 2006, 07:50:07 UTC
If you need any help mirroring the script, let me know. I've got a dedicated server that hardly see's any action.

Reply

avatraxiom July 11 2006, 07:54:27 UTC
Cool. If I notice the load getting crazy, I'll contact you.

-Max

Reply


hellmutt July 11 2006, 10:19:27 UTC
Awesome! I'd been vaguely thinking LJ should support something like this.

Say, is there any way to exclude a tag - for example, get every entry to a community except those tagged XYZ?

Reply

avatraxiom July 11 2006, 22:19:14 UTC
Hrm...not at the moment, but it sounds like a good idea. :-) I'll work on it and get back to you.

-Max

Reply

avatraxiom July 12 2006, 06:18:07 UTC
Hey hey. So, I updated the script, and now you can do ¬ag=blah to exclude a tag. (It's also explained on the page.

-Max

Reply

hellmutt July 12 2006, 09:07:26 UTC
You are so cool.

Hope the server holds out!

Reply


(The comment has been removed)

thgintaetal July 11 2006, 12:40:09 UTC
Yes, it could be used on a journal you don't own, and most uses of this tool probably will not be by the journal's owner. The owner probably does not care whether they just posted with a specific tag; their friends might.
It grabs the already-publicly-available RSS feed, filters it for tags, and returns a RSS feed of just those entries. It will return only entries that are publicly available and have that tag, which can already be done through the http://exampleusername.livejournal.com/tag/exampletag page. Because the exact same information is available in another format, I don't see the privacy issue.

Reply


torakiyoshi July 11 2006, 14:51:53 UTC
Very cool! I don't do tags myself much as yet, but I know some bloggers who would benefit muchly from this.

Have teh best

-=TK

Reply

avatraxiom July 11 2006, 22:20:34 UTC
Thanks! :-) Yeah, it's been pretty useful to me already. :-)

-Max

Reply


Leave a comment

Up