PDA

View Full Version : Correcting an existing RSS feed


Bill Pitts
05-19-2011, 06:39 AM
Hello everyone,
I edited my RSS feed yesterday, adding a new article in my online magazine.

But I typed in the URL incorrectly. I opened the RSS file again, corrected the mistake, and uploaded it again.

When I checked the file online, there were two entries for the same article, one with the incorrect URL and the other with the correct URL.

Is there any way to get rid of the incorrect entry?

Thanks,
Bill

domedia
05-19-2011, 01:50 PM
My guess is that you're not checking the actual feed file, but something that has read it, and possibly cached it. In case I would delete the cache.
Am I close?

Bill Pitts
05-19-2011, 08:14 PM
Hi Domedia,
I built the feed file in Dreamweaver 8 on a Macintosh and am attempting to correct it in Dreamweaver as well. I don't have a reader on my computer (that I'm aware of) so I'll assume that's not part of the problem.

I also deleted the file from my server and replaced it with a corrected file, but this had no effect on the double entry.

So, is this not the way to make changes to an existing file? Anyone know where these files actually reside?

I guess I need a "Dummy's Guide to RSS Feeds."

Thanks,
Bill

domedia
05-19-2011, 11:33 PM
Your feed is an XML file.
The stuff on your webpage is not.
You built something that reads the XML file and outputs the result on your page.
I have no idea how you set this up I'm afraid. :-/

If you have any specifics, someone might be able to help you out. This is just guesswork from my side.

Bill Pitts
05-19-2011, 11:43 PM
Anyone else out there know anything about editing an existing RSS feed?

edbr
05-20-2011, 02:10 AM
does your web page have a javascript feed reader on it? im not tooo sure what is happening, you say you added an item, are you adding it manualy to your xml or is it being fed dynamically?

Bill Pitts
05-24-2011, 03:21 AM
Hi edbr,
I'll be the first to admit that I am an RSS neophyte, so I can't answer your first question, but if you'll click on my avatar, you can find my website (just leave off the /creative, as that will take you to my online portfolio). Perhaps you can tell me if I have a feed reader.

I did create the RSS file (this is the xml file you refer to, correct?) as a text file but I can open it within the Dreamweaver program. I have, however, been editing it in TextEdit on my Macintosh.

Does this answer your questions? Remember, I am new to all this and learned how to format the RSS feed file from a website that I've since lost the link to. So it IS conceivable that I missed something important. eh?

Thanks,
Bill

edbr
05-24-2011, 04:18 AM
right. i see the xml sheet and looks ok,
if you add a feed reader to your home page you could add a number of posts there so i might have misunderstood what you wanted to do. there are a lot on the web often free (javascript)
as it is it looks fine for subscribing to

Bill Pitts
05-24-2011, 04:50 AM
Thanks for looking, edbr.

But did you see the double entry I was referring to the one about the steamboat Iron Mountain? It's the second one I want to get rid of. I made the mistake in the link to my page with the article.

Thanks,
Bill

edbr
05-24-2011, 05:18 AM
no i didnt, i didnt see even 1 http://www.newsouthernview.com/nsvfeed.xml right?

edbr
05-24-2011, 05:19 AM
in fact the source

<?xml version="1.0" ?>
<rss version="2.0">

<channel>

<title>...The New Southern View Ezine RSS Feed...</title>
<description>Keep an eye on this page for our latest articles and any additions to existing articles on The New Southern View Ezine's web site.</description>
<link>http://www.newsouthernview.com/</link>

<item>
<title>NEW ARTICLE 4/1/2011: The Clinton Community Nature Center: Nature in an Urban Setting</title>
<description>Hidden in the center of town, accessible from a residential street in a quiet neighborhood, is the Clinton Community Nature Center, comprised of more than 2-1/2 miles of all-weather walking trails that wind over 33 acres of land . . .
</description>

<link>http://www.newsouthernview.com/pages/nsv_ot_ccnc.html</link>
</item>

<item>
<title>NEW ARTICLE 9/5/2010: The Anole or the Green Chameleon</title>
<description>Garden snakes can certainly cause distress when working in the yard, but one reptile that is welcomed around any garden is the anole, commonly known as the Green Chameleon.
</description>
<link>http://www.newsouthernview.com/pages/nsv_ta_anole_lizards.html</link>
</item>

<item>
<title>NEW ARTICLE 9/1/2010: Birding on the Nature Trails at LeFleur's Bluff State Park</title>
<description>"I had a few hours to spare one summer morning, so I went to the Mississippi Museum of Natural Science located in LeFleur's Bluff State Park in Jackson." Follow birding enthusiast Steve Peterson as he explores the nature trails of the park behind the museum in search of the elusive Barred Owl.

</description>
<link>http://www.newsouthernview.com/pages/nsv_ta_jxn_birding_summer.html</link>
</item>

<item>
<title>NEW ARTICLE 8/26/2010: Kidz Zone at StenniSphere</title>
<description>The StenniSphere Visitor Center at NASA’s John C. Stennis Space Center west of Bay St. Louis, Mississippi opened a new exhibit August 25, 2010 — a Kidz Zone attraction that offers young visitors an interactive look at space.
</description>
<link>http://www.newsouthernview.com/pages/nsv_cw_stennispherekidzone.html</link>
</item>

<item>
<title>NEW ARTICLE 4/4/2010: Old Town Bay St. Louis — Historic Walking &amp; Biking Tour</title>

<description>Meander through the streets of Bay St. Louis, Mississippi's almost-state capital, and learn why this coastal town is a Place Apart. From the Hancock Chamber of Commerce's brochure.
</description>
<link>http://www.newsouthernview.com/pages/nsv_shm_bay_st_louis.html</link>
</item>

<item>
<title>NEW ARTICLE 3/22/2010: The Jaketown Site - Poverty Point Culture in Mississippi</title>
<description>This is a report of the archaeological dig at the Jaketown Site in the Mississippi Delta. It was written for us by Lee J. Arco, the doctoral student from Washington University in St. Louis who is conducting the excavation. The Jaketown Site is the second largest extant Poverty Point settlement, spreading over more than 200 acres in Humphreys County, Mississippi. This is the first article appearing under our new banner "Scenic and Pre-Historic Mississippi."</description>
<link>http://www.newsouthernview.com/pages/nsv_shm_jaketown_site.html</link>
</item>

<item>
<title>NEW ARTICLE 2/28/2010: The Ginkgo Tree: Our Prehistoric Ornamental</title>

<description>This species of tree witnessed the rule of the dinosaur and has been manipulated by the hand of man for hundreds of years. According to Mississippi State Horticulturist Norman Winter, the ginkgo, although an import from the Far East, is native to North America as shown in the fossil record.</description>
<link>http://www.newsouthernview.com/pages/nsv_gg_ginkgo_tree.html</link>
</item>

<item>
<title>ALTERED PAGE 2/28/2010: Mississippi Library - new listing and thinner, trimmer, redesigned</title>
<description>We'd like to suggest these books on Mississippi as the best guides about our state that we've come across. And we've added a new title, "Jackson's North State Street," about the stately houses and buildings that once lined one of the main thoroughfares in Mississippi's capital city.</description>
<link>http://www.newsouthernview.com/pages/nsv_mississippi_library.html</link>
</item>

<item>
<title>NEW ARTICLE 2/18/2010: The Longleaf Trace Companion - a book review</title>

<description>Learn more of the sights and history surrounding the 43 mile-long Longleaf Trace in south Mississippi. Filled with detailed maps as well as stories of the development of the railroad route that the Trace replaced, this guidebook will complement your enjoyment of the Trace whether you run, cycle, ride, or simply stroll.</description>
<link>http://www.newsouthernview.com/pages/nsv_al_longleaf_trace_book.html</link>
</item>

<item>
<title>ALTERED PAGE 2/13/2010: Site Map - thinner, trimmer, redesigned</title>
<description>I'm learning to use CSS and am reworking our web site one page at a time. Our Site Map has been put on a CSS-diet and is more streamlined now. Use this page as a complete guide to the articles in our magazine.</description>
<link>http://www.newsouthernview.com/pages/nsv_sitemap.html</link>
</item>

<item>
<title>NEW ARTICLE 2/12/2010: Snow in Mississippi</title>

<description>Since snow in Mississippi is a little rare, no matter what decade we recall, it is exciting because it is different. Snow days in Mississippi are no-school, play-outside days. Festive occasions. Magical childhood memories of snow in Mississippi stick far beyond any spring thaw.</description>
<link>http://www.newsouthernview.com/pages/nsv_wht_mississippi_snow.html</link>
</item>

</channel>

</rss>

Bill Pitts
05-24-2011, 05:23 AM
This is confusing! What is the first entry that you see??

Bill

edbr
05-24-2011, 05:26 AM
<description>This species of tree witnessed the rule of the dinosaur and has been manipulated by the hand of man for hundreds of years. According to Mississippi State Horticulturist Norman Winter, the ginkgo, although an import from the Far East, is native to North America as shown in the fossil record.</description>
<link>http://www.newsouthernview.com/pages/nsv_gg_ginkgo_tree.html</link>
</item>

Bill Pitts
05-24-2011, 05:47 AM
This doesn't make sense. I think I'll just give up and trash the idea of an RSS feed.

Thanks for looking though!

edbr
05-24-2011, 06:00 AM
let someone else look first

gentleone
05-24-2011, 07:41 AM
I had a look as well, but I don't see any RSS feed parsed on that page.

domedia
05-24-2011, 12:53 PM
Bill, did you try just CTRL+F5 on your page?
There's no reason why you should see a double entry and we not.

I also want to emphasize what I said earlier about your feed and your HTML page being two different things, and that you have a script (my guess, you're not saying what parses your XML) that reads your RSS feed and generates the HTML.

Bill Pitts
05-24-2011, 05:19 PM
I'm obviously overlooking a step or two. I see the two entries for Iron Mountain at the top of the list on my Macintosh; I see the third entry, Clinton Community Nature Center, at the top of the feed on my friend's HP Notebook; edbr sees the Ginkgo Tree article listed first when he looks at my RSS feed (this is actually the ninth entry on my list, counting the two Iron Mountain entries as first and second); and gentleone sees no feed at all.

Domedia, you suggested "try just CTRL+F5 on your page." That sounds like PC-talk. As I mentioned in my response to your first comment to this thread, I use a Macintosh. CTRL+F5 has no effect in Dreamweaver on my Mac.

Is there a good online source for information on building and editing RSS feeds? A place where all questions are answered? Do any of you (edbr, gentleone, or Domedia) use RSS feeds on your sites?

Am I even asking this in the correct forum in the Dreamweaver Club?

Thanks,
Bill

gentleone
05-24-2011, 06:34 PM
Okay... sorry, my bad. I was on another page when I looked first.
These are the feeds that I see now:

http://www.gentlemedia.nl/images/bill-rss.jpg

gentleone
05-24-2011, 06:40 PM
Do any of you (edbr, gentleone, or Domedia) use RSS feeds on your sites?
When I'm in need for a RSS feed on a site, then I use this one:
http://www.scriptol.com/rss/rss-reader.php
I never faced a problem with it.

Bill Pitts
05-24-2011, 06:41 PM
This is a screenshot of my home page which is pure HTML augmented with CSS. This I built in Dreamweaver. This is not my RSS feed.

There is a link to the RSS feed below and to the left of the main image, and possibly one at the top in the URL field.

Again, I don't know what others may be seeing when it comes to RSS, but I placed the RSS button image in my home page, next to the links at the bottom of the page.

Bill

Bill Pitts
05-24-2011, 06:44 PM
At the risk of repeating myself, what gentleone is looking at, and showing above on his reply, is a screenshot of my home page which is pure HTML augmented with CSS. This I built in Dreamweaver. This is not my RSS feed.

gentleone
05-24-2011, 06:51 PM
Well Bill, then I don't see a rss feed after all. Yes, I see the red RSS button, but with this I can only subscribe to your RSS feed.
With what kind of script do you parse your RSS feed - I'm starting to doubt if you do that at all :)

Bill Pitts
05-24-2011, 07:01 PM
There! Scripting and parsing! Now maybe we're getting somewhere. Once again, I am a newbie to RSS. I don't think I can even claim to be newbie, I know so little about it and how it works.

Where can I learn more about this scripting and parsing? It should be obvious from my question that you, gentleone, are right. I haven't parsed my feed.

What I need is a "Dummies Guide to RSS." Guess it's time for a trek to the bookstore, eh?

Bill

domedia
05-24-2011, 07:12 PM
CTRL+F5 has no effect in Dreamweaver on my Mac. You're right 8)

gentleone
05-24-2011, 07:20 PM
If you want to display your RSS feed on your website you need a script. This script generates your XML file into HTML and this can be a PHP script or there are also javascript based ones, but I prefer PHP.
Such as this one:
http://www.scriptol.com/rss/rss-reader.php

If you can get this running you can get something like this:
http://www.scriptol.com/rss/rss-direct.php

There are more options such as displaying only the titles, but just have a look at the site. I remember the PHP script is with comments by the author explaining how to implement it on your page.

If you get stuck somewhere... just let me know and I will help you out.

Bill Pitts
05-24-2011, 07:29 PM
Thanks, gentleone. I'll take a look at these first chance. But now, I need to put this on hold and do some money-earning work. The fun stuff will have to wait until later!

Bill