Help - Search - Members - Calendar
Full Version: Apostrophe converts to question mark
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
TekEss
Hey All,

I have added a javascript RSS news feed to a page and for some reason each instance of an apostrophe is converted to a question mark.

there's converts to there?s, it's converts to it$s, etc. etc.

Here is the entire code from the page. Is there anything I can do?

CODE
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>BARBECUE WORLD NEWS</title>
</head>

<body bgcolor="#FFFFFF">

<p align="center"><a href="http://www.bbqtalk.ca/forums"><img border="0" src="http://www.bbqtalk.ca/bbqtalk300x200.jpg" width="300" height="170"></a></p>

<p style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"> </p>

<p style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"> </p>

<p style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0"> </p>

<p style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0" align="center"><u><font color="#B91E3D" face="Old English Text MT" size="6"><b>The
BARBECUE Daily News</b></font></u></p>

<p style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0" align="center"> </p>

<p style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0" align="center"> </p>

<p style="word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0" align="center"> </p>
<p>
<script language="JavaScript" src="http://convert.rss-to-javascript.com/?desc=1&desc_max=255&date=1&font=Verdana&src=http%3A%2F%2Fnews.google.com%2Fnews%3Fie%3DUTF-8%26oe%3Dutf8%26q%3Dbbq%2C%2Bbarbecue%2C%2Bgrilling%2C%2Bgrill%2C%2Bbarbeque%26hl%3Den%26output%3Drss&target=_BLANK&rss_title=Q NEWS">
</script><noscript>Your browser does not support JavaScript. <a title='RSS-to-JavaScript.com: Free RSS to JavaScript Converter' href=http://www.rss-to-javascript.com/?p=151,381&desc=1&desc_max=255&date=1&font=Verdana&src=http%3A%2F%2Fnews.google.com%2Fnews%3Fie%3DUTF-8%26oe%3Dutf8%26q%3Dbbq%2C%2Bbarbecue%2C%2Bgrilling%2C%2Bgrill%2C%2Bbarbeque%26hl%3Den%26output%3Drss&target=_BLANK&rss_title=Q NEWS&as_html=1>Click to read the latest news</a>.</noscript>
<a href=http://www.rss-to-javascript.com target=_blank title='RSS-to-JavaScript.com: Free RSS to JavaScript Converter'><img src=http://www.rss-to-javascript.com/images/rss-to-jss-small.gif alt='RSS to JavaScript' border=0></a>







</p>

</body>

</html>
Frederiek
Maybe it helps if you change the charset=windows-1252 to a more commonly used one, such as charset=iso-8859-1 or charset=utf-8.

Why use javascript to create an RSS feed? It's not that difficult in XML. Go see at http://www.d.umn.edu/itss/support/Training...gn/xml.html#rss.

Besides, looking at the feed result, you have a document.write('…') printed out on the page.
TekEss
Thats a great resource! Thanks for pointing it out.

Is there an area in that site that is geared toward dummies? For me, less is better sad.gif

All I really want it to do is update with news about bbq and grilling.
TekEss
After checking just about every link in that site, it looks like most of it is geared toward setting up an rss feed that you supply the updated news to for others to read.

I, am trying to grab news stories automatically from keywords and publish them to a page on my site so that others can read it.

Probably simple for you guys, but man does my head hurt.

Any and all shortcuts welcome.
Frederiek
Then maybe you're not looking for an RSS feed which usually provides new(s) items about the site itself (hence the htmlhelp RSS feed, which shows me new postings in my RSS aggregator).

I wouldn't know from the top of my head what to advice you. Maybe others have ideas for you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.