July 27, 201313 yr Hello all, I am working towards my degree in IT and Web Design from the University of Phoenix / Axia, and have hit a snag that I cannot figure out.... Let me start by saying that I am fairly new to web page coding, although I do have some past experience with HTML, but am in no way a guru by any stretch. That having been said, I am going to post some code here, and a screenshot in the hopes that I can get some advise here that can help set me straight on this..., My problem, is that even though I believe that I have coded my RSS feed correctly within my XML file, it is not opening a proper RSS feed page for me, and I am sure that it is something that I have missed. Here is my coding: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="../week3/cssfile1.css"?> <rss version="2.0"> <channel> <Title>Project Gutenberg</Title> <link>http://www.gutenberg.org/</link> <Description> online reading / free ebooks</Description> <item> <title>Self Publishing </title> <description>rss feed to self-published works</description> <link>http://self.gutenberg.org/rss/authors.aspx</link> <pubdate>01 May 2013</pubdate> <lastbuilddate>14 July 2013</lastbuilddate> </item> This is what I have been led to believe is proper format for the coding of an RSS feed within an XML document, but when I open it in a browser, all I get is the code sloppily written out with no RSS feed?? All of the other programs that I have seen are almost identical to this, but they work, and whe they are opened they open a web page with an RSS feed like so, This is what opens for me, I think it is my code, but I would like a more informed viewpoint on this, and thanks in advance.
July 27, 201313 yr Author I apologize, but I posted the incorrect results for what my code is displaying when run.... :blush1: Also, I think I posted the incorrect code as well, and I tried to edit my post, but it kept giving me technical errors, so I am going to add the correct info here in this reply. My code is this: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="../week3/cssfile1.css"?> <rss version="2.0"> <channel> <Title>Project Gutenberg</Title> <link>http://www.gutenberg.org/</link> <Description> online reading / free ebooks</Description> <item> <title>Self Publishing </title> <description>rss feed to self-published works</description> <link>http://self.gutenberg.org/rss/authors.aspx</link> <pubdate>01 May 2013</pubdate> <lastbuilddate>14 July 2013</lastbuilddate> </item> </channel> </rss> and what is coming up for me when I run this is the following, Sorry for the confusion, but I am fairly new to this!!
Create an account or sign in to comment