PDA

View Full Version : RSS Problems


redshanksnapper
09-25-2006, 06:54 PM
I'm new to all of this, but seem to be making some progress with my Photoblog.

The problem is my RSS feed - in IE7 - I get an error message in relation to the RSS feed:

A semi colon character was expected.
Line: 14 Character: 97

<img src="http://www.captivateme.co.uk/blog/thumbnails/thumb_20060924211130_ellie&abbie 5x4.jpg;">

The RSS feed did appear to work, but for some reason my upload today isn't being picked-up VFXY.

My url is: http://www.captivateme.co.uk/blog/

Can anyone tell me what's wrong and where the problem is.

Cheers

Connie
09-25-2006, 07:13 PM
never ever edit PP pages with Frontpage and complain that it is not correct ;=)

# <link>http://www.captivateme.co.uk/blog/?showimage=27</link>
# <description>
# &lt;img src=&quot;http://www.captivateme.co.uk/blog/thumbnails/thumb_20060924211130_ellie&abbie 5x4.jpg&quot;&gt;
# &lt;br /&gt;This is the photo
# &lt;br /&gt;that I put together in the &quot;studio&quot; on Saturday. I knew what I was after
# &lt;br /&gt;and it was surprisingly easy to get a number of solid shots which could then be
# &lt;br /&gt;used. This is three photos pieced together - one of Ellie on the ladder
# &lt;br /&gt;(pretending Abbie is below!), one of Abbie pointing at the bee (with the &quot;rod&quot;
# &lt;br /&gt;held by Joanne) and one of the ladder.
# &lt;br /&gt;
# &lt;br /&gt;
# &lt;br /&gt;Photoshop:
# &lt;br /&gt;Three photos merged together with quite a comprehensive layers palette.
# &lt;br /&gt;Once in position, basic adjustments - curves, levels and saturation and then cropped
# &lt;br /&gt;5x4.
# &lt;br /&gt;
# &lt;br /&gt;For Sale:
# &lt;br /&gt; No
# &lt;br /&gt;
# &lt;br /&gt;
# </description>
# <pubDate>Mon, 25 Sep 2006 08:00 +0100</pubDate>

this is no Pixelpost output!

1) PP expects and needs UTF-8 encoding and you set it to windows-1251

or maybe Frontpage did it:

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">


2) you have at least 31 HTML errors in your output, so I would start there

3) how many times you refer to the CSS-stylesheet?
I think one time is enough

<link tags belong into the header, but you close the header before it should be closed


<link rel="stylesheet" type="text/css" href="style.css">
</head>
<!-- Link for RSS feed autodiscovery -->
<link rel="alternate" type="application/rss+xml" title="captivate - RSS Feed" href="http://www.captivateme.co.uk/blog/index.php?x=rss" />

<!-- CSS -->

<script type="text/javascript" src="templates/captivate/scripts/minmax.js"></script>
<link rel="stylesheet" type="text/css" href="templates/captivate/style.css">
<link rel="stylesheet" type="text/css" href="style.css">

do yourself a favour and start again, you can easily switch to one of the delivered templates
they will provide clean output even as they are not as beautiful as yours..

then take this template and work on it, but NEVER with FRONTPAGE!!!!!

use a normal editor, which does not rape any clean html code :smile:

once again, a proof how sh... are Microsoft's webtools ;=(

redshanksnapper
09-25-2006, 07:19 PM
crikey!!

Thanks Connie

GeoS
09-26-2006, 12:31 AM
Other thing - try to not use spaces in file names (a specially this publicated in the net) :)

redshanksnapper
09-26-2006, 07:00 AM
Thanks for your help - I have re-done my template based on "simple", but I still seem to have the same error message when it comes to the RSS feed and a missing semi-colon.

Is this because of spaces in the filenames?

Cheers

GeoS
09-26-2006, 09:38 AM
Dont ask me just try to remove it and you will know.

redshanksnapper
09-26-2006, 10:15 AM
But which file is this missing semi-colon supposed to be? Is it index.php or image_template.htm? (The index.php file is the un-edited file that came with pixelpost.)

Connie
09-26-2006, 10:21 AM
your template!

you should not edit the script! The template!
or the data which you enter
but never the script

redshanksnapper
09-26-2006, 10:26 AM
The problem was with the name of the file uploaded, I think the problem was with the "&" used.

It's working fine now.

Thanks

GeoS
09-26-2006, 10:31 AM
1) dont put spaces into the file names - its good advice for now and for future.
2) http://www.captivateme.co.uk/blog/th...30_ellie&abbie 5x4.jpg; - in your RSS there was ; at the end of file name. I dont know why you have uploaded file with jpg; extension.
3) Now I see that all is fine (under Firefox).

redshanksnapper
09-26-2006, 02:45 PM
I don't know where that ; came from - I certainly didn't add it when I uploaded the file.

Cheers

GeoS
09-26-2006, 04:35 PM
Sorry, maybe Ive seen something else in wrong place. Never mind.

Is it OK right now??

redshanksnapper
09-26-2006, 07:00 PM
all working fine now - thanks for your help

Connie
09-26-2006, 07:13 PM
great!

now you can relax and concentrate on photos and not stupid misspelled filenames ... very good!