Re: ConnectedMobiles.com - New Smartphone and Pocket PC Phone Edition website
From: Justin Nolan (hondacrxsi_at_gmail.com)
Date: 12/24/04
- Next message: Elijah: "Re: Connect as Guest?"
- Previous message: Sven, MVP-Mobile Devices: "Re: Connect as Guest?"
- In reply to: Neil Smith [MVP Digital Media]: "Re: ConnectedMobiles.com - New Smartphone and Pocket PC Phone Edition website"
- Next in thread: Neil Smith [MVP Digital Media]: "Re: ConnectedMobiles.com - New Smartphone and Pocket PC Phone Edition website"
- Reply: Neil Smith [MVP Digital Media]: "Re: ConnectedMobiles.com - New Smartphone and Pocket PC Phone Edition website"
- Messages sorted by: [ date ] [ thread ]
Date: 23 Dec 2004 19:58:35 -0800
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!
- Next message: Elijah: "Re: Connect as Guest?"
- Previous message: Sven, MVP-Mobile Devices: "Re: Connect as Guest?"
- In reply to: Neil Smith [MVP Digital Media]: "Re: ConnectedMobiles.com - New Smartphone and Pocket PC Phone Edition website"
- Next in thread: Neil Smith [MVP Digital Media]: "Re: ConnectedMobiles.com - New Smartphone and Pocket PC Phone Edition website"
- Reply: Neil Smith [MVP Digital Media]: "Re: ConnectedMobiles.com - New Smartphone and Pocket PC Phone Edition website"
- Messages sorted by: [ date ] [ thread ]