PDA

View Full Version : using <IMAGE_TITLE> in the title bar?!


tanjatiziana
10-23-2005, 02:36 AM
Hi, I recently configued PP to include my post title (<IMAGE_TITLE>) in my blog title so that it appears in the browser header bar.

I was quite pleased til someone let me know that this royally messes with the RSS feed. The RSS gets confused with the "<title><IMAGE TITLE></title>" because of all the title tags.

Now i've removed it and the RSS works again, but i would really like to incorporate it somehow. Any fixes?

blinking8s
10-23-2005, 03:20 AM
how does it mess up the rss? i've never seen an error occur with this...which feed reader were they using?

Connie
10-23-2005, 07:22 AM
sorry, I have the image title in the title since more than hundreds of images and the rss is not messed, it is working

I use it like that at www.photografitti.de :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title><SITE_TITLE>: <IMAGE_TITLE></title>

and the RSS is ok,

you might have one error in RSS when you use

&

in the image title, so don't use this

this info you would have found in the forum here, doing a search, for sure

Joe[y]
10-23-2005, 09:32 AM
yeah man. check out http://photos.jlspurling.com/feeds/rss.xml - it's all good. your friends RSS reader must just suck.

tanjatiziana
10-23-2005, 09:39 PM
Every RSS has the same problem, not just the folks who've reported it to me. Heh. Checking it at http://www.feedvalidator.org reports the error as well.

I know well about the "&" problem... I do weekly checks to remove all occurrences of it.

Alright, I've gone into my options and changed the title so that the <IMAGE_TITLE> tag is back in the coding. If you check out the RSS feed:
http://www.doublecrossed.ca/index.php?x=rss
the problem is back.

Now, any ideas?

blinking8s
10-24-2005, 02:06 AM
it means that the tag is not rendering what it is supposed to, it should never show a title tag directly in the output, but i firmly do not that the error is where fingers are being pointed, as many people use this and we've never had an issue..although my feed works fine, it does not validate because of a character i wished to have used...

im showing an issue with your doctype and some javascript, humm...

tanjatiziana
10-24-2005, 04:10 AM
I have no idea what do to with it beyond taking the tag out.

I mean, it *shouldn't* be confusing the title tags with the IMAGE_TITLE tag but somehow it does. I realize using it is possible with pixelpost -- which is WHY i want to... but there is certainly a bug in this coding and I can't find it.

Any RSS knowledge bases I've looked up don't really tell me anything specific I can do either...

blinking8s
10-24-2005, 05:41 AM
well, i dont know really, it COULD be a character in one of your image titles thats causing something to break, but with 200+ photos thats going to be hard to just test to see if its the problem

if you have any photos that use things like !@#$%%^ or special characters in their title, i suggest checking those first

http://blinking8s.com/temp/pixelpost/rss_feed.txt is my rss feed code found in index.php

im using the title tag (well its modified but the same thing really) and my feed validates, so I am a little stumped as to where the issue might lie

if you can pull up you're index.php and show me the rss code that might help, but i have a feeling the issue doesnt fall here

Connie
10-24-2005, 06:22 AM
one reason for errors could be that

feedvalidator.org does not accept "<br />" , and this will be fixed in the next versions

when I wrote the RSS module of PP, this was no error

blinking8s
10-24-2005, 06:54 AM
well, the feed validator does accept it i think, mine validates and its present

Joe[y]
10-24-2005, 10:02 AM
feed validator doesn't like xhtml line breaks it seems : http://feedvalidator.org/check.cgi?url=http%3A//photos.jlspurling.com/feeds/rss.xml

it no like the gap when you go <br />

blinking8s
10-24-2005, 07:31 PM
http://feedvalidator.org/check.cgi?url=http%3A//blog.blinking8s.com/index.php%3Fx%3Drss

I still have the breaks in my code, but cddata was not closed correctly in the code, i changed that...my erros were different right off

tanjatiziana
11-01-2005, 04:37 PM
I guess I'll just remove them until I update to a newer pixelpost. Better no titles than RSS failures. No idea what to make of it all.