Home | Support Forums | Your Account | Gallery [2] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Firefox Friendly RSS Feeds

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic
Author Message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6261
Location: Washington Township, NJ, USA

PostPosted: Thu Oct 28, 2004 2:53 pm    Post subject: Firefox Friendly RSS Feeds Reply with quote

So you've noticed that Firefox [mozilla.org] has this nifty new "Live Bookmark" [mozilla.org] feature which allows you to bookmark a site's RSS feeds into your bookmark folder. Spiffy, eh? So, why not use it to help users of your site get all your news at a glance?

To do it, just open header.php and add this before the line which calls the CSS file:
PHP: › <?php echo "<link href=\"http://yoursite.com/backend.php\" rel=\"alternate\" type=\"application/rss+xml\" title=\"YOURSITE RSS Feed\" />\n\n\n"?>

(replace yoursite.com and YOURSITE with your site's address and name).

In the end, it will look something like this:
PHP: › <?php echo "<link href=\"http://www.nukedgallery.net/backend.php\" rel=\"alternate\" type=\"application/rss+xml\" title=\"NukedGallery RSS Feed\" />\n\n\n";        
    echo 
"<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n"?>

Make sure, of course, to replace NukedGallery's information with your own site's.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: Firefox Friendly RSS Feeds  

Back to top
nagu

Beginner
Beginner


Joined: Sep 24, 2004
Posts: 5
Location: India

PostPosted: Wed Nov 17, 2004 7:20 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

hi,
But i have a problem in doing so. My backend.php is showing excellently in My Yahoo. But the real problem is with Mozilla. I edited the header file. I tried to subscribing using my mozilla. The problem is....It show "Live bookMark feed failed to load" Why is this?

the site is ceteagles.info.
the nuke folder is ceteagles.info/html/
I have used .htacess way of redirection to the nuke folder.
the exact location of backend.php is ceteagles.info/html/backend.php

can some one please help
Back to top
Offline View user's profile Send private message Send e-mail Yahoo Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6261
Location: Washington Township, NJ, USA

PostPosted: Wed Nov 17, 2004 7:50 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

your line looks fine to me:

Code: › <link href="http://ceteagles.info/html/backend.php" rel="alternate" type="application/rss+xml" title="CETEAGLES RSS Feed" />


BUT, when i view your backend.php directly at http://ceteagles.info/html/backend.php , i get this:

Code: ›
XML Parsing Error: xml processing instruction not at start of external entity
Location: http://ceteagles.info/html/backend.php
Line Number 3, Column 1:<?xml version="1.0" encoding="ISO-8859-1"?>
^


so yahoo isn't being as strict as mozilla.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
nagu

Beginner
Beginner


Joined: Sep 24, 2004
Posts: 5
Location: India

PostPosted: Wed Nov 17, 2004 8:40 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

Then what am i supposed to change in my code? How to make it work.
_________________
Do things That create Oppurtunities!
Back to top
Offline View user's profile Send private message Send e-mail Yahoo Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6261
Location: Washington Township, NJ, USA

PostPosted: Wed Nov 17, 2004 9:02 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

I have no idea, it's an error in the php script itself. i suggest grabbing a new copy of phpnuke and using it's backend.php and see if it works.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
nagu

Beginner
Beginner


Joined: Sep 24, 2004
Posts: 5
Location: India

PostPosted: Wed Nov 17, 2004 9:07 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

hi,
i got it. Exactly The problem is similar to that of the "securitycode not showing" problem. By removing a new lines at the end of all the files that included in the mainfile.php solved my problem. I believe it works now. I found the free line in one of the lang-English.php. Removing the thing made it work.
Thanx for ur support.
nagu
_________________
Do things That create Oppurtunities!
Back to top
Offline View user's profile Send private message Send e-mail Yahoo Messenger
luchtzak

Beginner
Beginner


Joined: Dec 06, 2004
Posts: 3

PostPosted: Mon Dec 06, 2004 8:30 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

Thank you very much for explaining this very cool feature! Have applied this on my website and it rocks!
Back to top
Offline View user's profile Send private message Visit poster's website
TheLoneInventor

Beginner
Beginner


Joined: Dec 15, 2004
Posts: 3

PostPosted: Fri Dec 17, 2004 3:38 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

Hi,

I have implemented this hack , however I don't see anything in Netscape or IE comming up. I am downloading Firefox right now to check it out. Should you see anything? Or if the code simply take advantage of the active links code in the Firefox browser?

Thanks
Back to top
Offline View user's profile Send private message Visit poster's website
luchtzak

Beginner
Beginner


Joined: Dec 06, 2004
Posts: 3

PostPosted: Fri Dec 17, 2004 5:46 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

It doesn't work in IE or Netscape, it's firefox-only.

Check this url, you can see some images on how it works:

http://www.luchtzak.be/postt7526.html

ciao,

Bart
Back to top
Offline View user's profile Send private message Visit poster's website
TheLoneInventor

Beginner
Beginner


Joined: Dec 15, 2004
Posts: 3

PostPosted: Sat Dec 18, 2004 2:54 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

I realize it only works with Firefox, I guess I thought there would be a link or something.

I did download Firefox, and that's a pretty nice browser. Also got the Live Bookmarks feature up and running on my site.

Check it out if you like http://www.loneinventor.com [loneinventor.com]

Thanks for the help. Great thread! Very useful piece of information. They are now offering this as part of the "upgrade" in nuke 7.6 aren't they? With the stat counter as well? Hmm...

Thanks again.

TheLoneInventor
Back to top
Offline View user's profile Send private message Visit poster's website
TheLoneInventor

Beginner
Beginner


Joined: Dec 15, 2004
Posts: 3

PostPosted: Thu Oct 27, 2005 6:01 am    Post subject: Re: Firefox Friendly RSS Feeds Reply with quote

UPDATE: Firefox Live Bookmarks

Hey, thanks again for the thread. I have been using these now for many moons, and they are working out great. I have added more RSS feeds, one for each individual news topic to spread the love around so to speak.

Has anyone heard of rss2.0 and atom feeds for phpnuke?
I ran across this today: http://brennan.offwhite.net/blog/archives/000067.html

There you will find rss2.0 and atom0.3 feeds for your phpnuke site. An interesting quesiton came up though after reading that article that accompanies those files... He is adding the required statements for the live bookmarks into the meta.php file as opposed to the header.php file. I tried it, and it does work just as well... The meta.php file is called from within the header.php file, so I'm curious, which is better and why or are they relatively the same? Neither of them is an 'include once" statement, so probably no load time difference, or not much.

Any thoughts?

Steve
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Other PHPNuke Issues View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSearch Engine OptimizationWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia