Re: ConnectedMobiles.com - New Smartphone and Pocket PC Phone Edition website

From: Neil Smith [MVP Digital Media] (neil_at_nospam.com)
Date: 12/24/04


Date: Fri, 24 Dec 2004 15:09:32 GMT

Well, now all you need to do for it to be picked up lets say in
firefox as an rss feed (as well as having the icon on screen) is to
add this in the head tags of your page :

<LINK REL="alternate" TITLE="Connected Mobiles RSS"
HREF="//connectedmobiles.com/rss.php" TYPE="application/rss+xml" />

You *should* see the little orange icon show up in firefox, bottom
right near the status bar. Clicking that and you'll be offered by the
browser to "Subscribe to Connected Mobiles RSS" ;-))

HTH
Cheers - Neil

On 23 Dec 2004 19:58:35 -0800, "Justin Nolan" <hondacrxsi@gmail.com>
wrote:

>Thanks, using header(); it now displays properly in the browser. I dont
>really know how to use name spaces, but just from examining example rss
>feeds, I dont think I need them.
>
>Let me know if I'm missing anything else...
>
>Thanks again,
>Justin Nolan
>ConnectedMobiles.com
>
>Neil Smith [MVP Digital Media] wrote:
>> Firefox displays it as just the text nodes of the XML file. Your feed
>> generator seems to have missed off the namespaces for RSS :
>>
>> xmlns:content="http://purl.org/rss/1.0/modules/content/"
>> xmlns:wfw='http://wellformedweb.org/CommentAPI/'
>> xmlns:dc='http://purl.org/dc/elements/1.1/'
>> xmlns:rl='http://www.purl.org/RESTLog/'
>>
>> Which should be in the <rss version="2.0" /> tag. I can't see an
>> encoding attribute in the XML declaration either, perhaps it's UTF-8
>> by default though (in which case that's OK). Also, perhaps if you
>sent
>>
>> header("content-type: text/xml");
>>
>> That way the browser knows to expect XML data and it could use the
>> built-in XML style*** which most browsers have ?
>>
>> Or, how about using mod_rewrite to actually change the filename from
>> rss.php to feed.rss it would help for browsers to recognise the file
>> type as well as the content-type, eg in a .htaccess file :
>>
>>
>> RewriteEngine on
>> RewriteBase /
>> RewriteRule feed.*\.rss /rss.php
>>
>>
>> HTH
>> Cheers - Neil
>>
>>
>> On 23 Dec 2004 14:19:44 -0800, "Justin Nolan" <hondacrxsi@gmail.com>
>> wrote:
>>
>> >Hmm... works for me. My browser displays it as html instead of an
>XML
>> >because its a php file that generates the feed. If you look at the
>> >source,
>> >its a valid xml 2.0 feed. I even tested it in a news aggregator and
>it
>> >worked
>> >fine. Let me know if I'm overlooking something.
>> >
>> >Thanks,
>> >Justin Nolan
>> >ConnectedMobiles.com
>> >
>> >www.MSmobiles.com wrote:
>> >> "Barry Dorrans" <msnews@idunno.org.invalid> wrote in message
>> >> news:uzq%23T7F6EHA.3376@TK2MSFTNGP12.phx.gbl...
>> >> > Justin Nolan wrote:
>> >> >> Ask and you shall recieve :) RSS feed up and running at:
>> >> >> http://www.connectedmobiles.com/rss.php
>> >> >>
>> >> >
>> >> > Actually that's a blank html file (well, body less) right now!
>> >> >
>> >>
>> >> that's correct, it doesn work.
>> >>
>> >> RSS is now THE most important of website, so fix it ASAP!