The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Apostrophe converts to question mark
TekEss
post Feb 28 2008, 10:24 AM
Post #1


Member
***

Group: Members
Posts: 54
Joined: 28-August 06
Member No.: 26



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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Feb 28 2008, 12:58 PM
Post #2


Programming Fanatic
********

Group: Members
Posts: 4,124
Joined: 23-August 06
From: Europe
Member No.: 9



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.


--------------------
"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
TekEss
post Feb 28 2008, 01:11 PM
Post #3


Member
***

Group: Members
Posts: 54
Joined: 28-August 06
Member No.: 26



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
TekEss
post Feb 28 2008, 07:52 PM
Post #4


Member
***

Group: Members
Posts: 54
Joined: 28-August 06
Member No.: 26



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.

This post has been edited by TekEss: Feb 28 2008, 07:54 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Feb 29 2008, 03:40 AM
Post #5


Programming Fanatic
********

Group: Members
Posts: 4,124
Joined: 23-August 06
From: Europe
Member No.: 9



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.


--------------------
"The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French)

"Leave scepticism to others and take action"
from HOME by Goodplanet

An inconvenient truth by Al Gore
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2014 - 03:14 PM