Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 03-19-2006, 05:42 AM
mvilares Offline
forum loafer
 
Join Date: Mar 2006
Posts: 18
Lightbulb RSS icon in Firefox (for Live Bookmarks)

I wanted the orange RSS button/icon to show up automatically in Firefox, but the autodetect function doesn't appear to make this happen. I'm using PP 1.5 beta 1 but this should work for earlier versions.

Just add the following to the head tag of your image template and change the title and your site's feed URL:



<link rel="alternate" type="application/rss+xml"
title="My RSS Feed" href="http://www.yoursite.com/index.php?x=rss">



After doing this, I now get the orange RSS icon in the address bar in Firefox and live bookmarking my site works beautifully. If you have multiple feeds, just add a link element as given above for each RSS feed available on your site.

For an example of what I mean, go to my site (http://photoblog.3horizons.com) using Firefox 1.5 and you should see the orange RSS icon in the address bar. If you are using earlier versions of Firefox, you should see the orange RSS icon in the statusbar instead of the address bar.

Hope this helps someone out there.
__________________
Marcelo Vilares
3 Horizons - http://photoblog.3horizons.com

Last edited by mvilares; 03-19-2006 at 10:31 PM.
Reply With Quote
  #2  
Old 03-19-2006, 05:31 PM
HiImSeth Offline
pp veteran
 
Join Date: Mar 2006
Location: Tulsa, OK
Posts: 62
Send a message via AIM to HiImSeth Send a message via MSN to HiImSeth
That's interesting.. I'm wondering why the <RSS_AUTODETECT_LINK> doesn't work for this. I had been trying to figure that out and just plugged the code you posted in and it works fine now. I'm running 1.5B

Anyone know?
Reply With Quote
  #3  
Old 03-19-2006, 07:09 PM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
Marcelo, i see the rss llive bookmark link in firefox fine now...
__________________
i should say more clever stuff
Reply With Quote
  #4  
Old 03-19-2006, 08:50 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Both top RSS feeds works fine in my FireFox.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #5  
Old 03-19-2006, 09:58 PM
mvilares Offline
forum loafer
 
Join Date: Mar 2006
Posts: 18
Talking not always orange

I'm glad this has worked for others. Although I just realized I shouldn't have said orange...because depending on what firefox theme you are using it won't always be orange.

Maybe this code can be implemented in the final release of 1.5 since all PP sites will have an RSS feed by default? Just a thought...
__________________
Marcelo Vilares
3 Horizons - http://photoblog.3horizons.com
Reply With Quote
  #6  
Old 03-19-2006, 11:07 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
IMHO 1.5 BETA have this tag in all templates by default. If not then it will have it in very close PP 1.5. RC1
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #7  
Old 03-20-2006, 02:34 AM
HiImSeth Offline
pp veteran
 
Join Date: Mar 2006
Location: Tulsa, OK
Posts: 62
Send a message via AIM to HiImSeth Send a message via MSN to HiImSeth
Yes, the <RSS_AUTODETECT_LINK> and <ATOM_AUTODETECT_LINK> tags were both in my default "simple" template, but neither of those gave me the rss feed icon as mentioned. i had to manually put the real url in like shown below.

PHP Code:
<link rel="alternate" type="application/rss+xml" title="hiimseth.com rss" href="http://www.hiimseth.com/index.php?x=rss"
Reply With Quote
  #8  
Old 03-20-2006, 06:22 AM
Connie
Guest
 
Posts: n/a
Quote:
feed-related Tags, to be used in image_template.html
================================================== ===

<ATOM_AUTODETECT> || creates the "href-part" of the atom-feed-autodetect-link,
better use:
<ATOM_AUTODETECT_LINK> || to be used in header of image_template.html for Feed in ATOM-Format
<RSS_AUTODETECT_LINK> || to be used in header for Feed in RSS-Format
these tags are implemented in the templates, which come with PP
comes out at my installation with the most actual developer version like this:
Quote:
<!-- Link for ATOM feed autodiscovery -->
<link rel="alternate" type="application/x.atom+xml" title=" - ATOM Feed" href="http://www.photografitti.de/index.php?x=atom" />
<!-- Link for RSS feed autodiscovery -->
<link rel="service.feed" type="application/rss+xml" title=" - RSS Feed" href="http://www.photografitti.de/index.php?x=rss" />
there was an error in 1.5BETA but that is fixed in the developer version already, we had this topic here already

the type-attribute was mixed, "rss" was set for atom and vice versa ;=(
sorry for that, will be working perfectly in the released version ;=)
Reply With Quote
  #9  
Old 03-20-2006, 01:23 PM
HiImSeth Offline
pp veteran
 
Join Date: Mar 2006
Location: Tulsa, OK
Posts: 62
Send a message via AIM to HiImSeth Send a message via MSN to HiImSeth
Thanks.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:03 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs