Bloglines key in RSS feed - how?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
tombriggs
Regular
Posts: 24
Joined: Thu Aug 09, 2007 3:54 pm

Bloglines key in RSS feed - how?

Post by tombriggs »

I'm trying to claim my blogs on Bloglines, which requires both a one-time key in a given post and a user key in all later posts. Specifically, something like this needs to show up in all posts:

<!-- ukey="12345678" -->

I've found plenty of ways to do that in HTML, but I can't find a way to get that chunk of text into my RSS feeds... which means Bloglines can't find it.

Any ideas? What am I missing?

Thanks
-Tom
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Bloglines key in RSS feed - how?

Post by garvinhicking »

Hi!

You can put that into the feed*.tpl template files!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tombriggs
Regular
Posts: 24
Joined: Thu Aug 09, 2007 3:54 pm

Re: Bloglines key in RSS feed - how?

Post by tombriggs »

garvinhicking wrote:Hi!

You can put that into the feed*.tpl template files!

Regards,
Garvin
Hrm... I considered that. That will affect all blogs in my installation though, correct? I have a shared setup, with a number of blogs, not all of which are owned by the same people... so I was hoping to find something that would allow me to specify it per-blog.

Any way to do that in a shared setup with making per-blog copies of the templates?

Thanks much
-Tom
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Bloglines key in RSS feed - how?

Post by garvinhicking »

Hi!
Hrm... I considered that. That will affect all blogs in my installation though, correct? I have a shared setup, with a number of blogs, not all of which are owned by the same people... so I was hoping to find something that would allow me to specify it per-blog.
Hm, that makes things complicated.

Seems you're advanced, so you could use one of the event-API hooks specified in the .tpl files and create your own plugin that emits the Code portion only for the specific blog.
Any way to do that in a shared setup with making per-blog copies of the templates?
You could do that as well, yes. Create a custom template and only assign that to the blog, where you need it. You can copy the feed*.tpl file from the default template into that custom template and only modify those files.

Regards,
Garvin
Thanks much
-Tom[/quote]
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tombriggs
Regular
Posts: 24
Joined: Thu Aug 09, 2007 3:54 pm

Re: Bloglines key in RSS feed - how?

Post by tombriggs »

Any way to do that in a shared setup with making per-blog copies of the templates?
You could do that as well, yes. Create a custom template and only assign that to the blog, where you need it. You can copy the feed*.tpl file from the default template into that custom template and only modify those files.
Heh, I intended to write "without" making per-blog copies, but that's an interesting and less time-consuming approach than writing a plug-in that I hadn't thought of.

I have been wondering how hard it would be to write a plug-in, though, so maybe this will be my excuse to find out. :)

-T
Post Reply