<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : WebWiz RSS Funky</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : WebWiz RSS Funky]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 07 Apr 2026 11:22:01 +0000</pubDate>
  <lastBuildDate>Fri, 15 Jun 2007 04:59:11 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=23233</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[WebWiz RSS Funky : Thanks, I&amp;#039;ll try out this...]]></title>
   <link>https://forums.webwiz.net/webwiz-rss-funky_topic23233_post123700.html#123700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=25408">kpdillon</a><br /><strong>Subject:</strong> 23233<br /><strong>Posted:</strong> 15&nbsp;June&nbsp;2007 at 4:59am<br /><br />Thanks, I'll try out this loop, My posts come from other forums automatically that I pull in from rss feeds so I run into this issue with out Microsoft word.&nbsp; I'll give that loop a try!&nbsp; As a workaround, I was using feedburner.&nbsp; Whatever they do seems to filter out unwanted charachters.]]>
   </description>
   <pubDate>Fri, 15 Jun 2007 04:59:11 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwiz-rss-funky_topic23233_post123700.html#123700</guid>
  </item> 
  <item>
   <title><![CDATA[WebWiz RSS Funky : When posting from Word it does...]]></title>
   <link>https://forums.webwiz.net/webwiz-rss-funky_topic23233_post123643.html#123643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 23233<br /><strong>Posted:</strong> 14&nbsp;June&nbsp;2007 at 4:33pm<br /><br />When posting from Word it does put in a load of unwanted code that does tend to mess things up.<br><br>Have you tried using the 'Paste From Word' Tool found in the full editor (not the quick reply) and if so does that prevent this error?<br>]]>
   </description>
   <pubDate>Thu, 14 Jun 2007 16:33:58 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwiz-rss-funky_topic23233_post123643.html#123643</guid>
  </item> 
  <item>
   <title><![CDATA[WebWiz RSS Funky : Just purchased my key for WebWiz...]]></title>
   <link>https://forums.webwiz.net/webwiz-rss-funky_topic23233_post123636.html#123636</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=26438">billgulch</a><br /><strong>Subject:</strong> 23233<br /><strong>Posted:</strong> 14&nbsp;June&nbsp;2007 at 4:13pm<br /><br />Just purchased my key for WebWiz this week.. lovin' it!&nbsp; <img src="http://forums.webwiz.net/smileys/smiley32.gif" height="17" width="18" border="0" align="absmiddle" alt="Clap" /><DIV>&nbsp;</DIV><DIV>Anywhoo.. I ran into this exact problem.&nbsp;&nbsp; I turned the feed into a static file and started stripping out stuff.&nbsp; Finally found the culprit..</DIV><DIV>&nbsp;</DIV><DIV>It appeared to happen because I "copied and pasted" from Word and had 3 ...'s in a row.&nbsp; Word turns three dots into a special character.&nbsp; WebWiz allows the character to be posted, which is great.. however..</DIV><DIV>&nbsp;</DIV><DIV>The RSS&nbsp;feed writer&nbsp;for WebWiz doesn't strip it out.&nbsp; The character is non-RSS compliant, so it bombs.&nbsp; From resource.org -</DIV><DIV>&nbsp;</DIV><DIV>"RSS 1.0 assumes UTF-8. Using US-ASCII (i.e. encoding all characters over 127 as &amp;#nnn;) is conformant with UTF-8 (and ISO-8859-1, HTTP's default header encoding)."</DIV><DIV>&nbsp;</DIV><DIV>So what I did was this.&nbsp; In RSS_Topic_feed.asp I :</DIV><DIV>&nbsp;</DIV><DIV>* Dimmed a new variable called MikeLoop in the declare variables section: dim MikeLoop</DIV><DIV>&nbsp;</DIV><DIV>* Added the following code at line 305 </DIV><DIV>&nbsp;</DIV><DIV>for MikeLoop = 128 to 255<BR>&nbsp;strMessage=Replace(strMessage,chr(MikeLoop),"&amp;#"+trim(MikeLoop)+";")<BR>Next</DIV><DIV>&nbsp;</DIV><DIV>Seems to work like a champ.&nbsp; <img src="https://forums.webwiz.net/smileys/smiley2.gif" height="17" width="17" border="0" align="absmiddle" alt="Wink" /></DIV><DIV>&nbsp;</DIV><DIV>--Mike</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 14 Jun 2007 16:13:04 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwiz-rss-funky_topic23233_post123636.html#123636</guid>
  </item> 
  <item>
   <title><![CDATA[WebWiz RSS Funky : No ideas here? ]]></title>
   <link>https://forums.webwiz.net/webwiz-rss-funky_topic23233_post122726.html#122726</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=25408">kpdillon</a><br /><strong>Subject:</strong> 23233<br /><strong>Posted:</strong> 12&nbsp;May&nbsp;2007 at 5:21am<br /><br />No ideas here?]]>
   </description>
   <pubDate>Sat, 12 May 2007 05:21:48 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwiz-rss-funky_topic23233_post122726.html#122726</guid>
  </item> 
  <item>
   <title><![CDATA[WebWiz RSS Funky : I use a standard XML script (pasted...]]></title>
   <link>https://forums.webwiz.net/webwiz-rss-funky_topic23233_post122488.html#122488</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=25408">kpdillon</a><br /><strong>Subject:</strong> 23233<br /><strong>Posted:</strong> 01&nbsp;May&nbsp;2007 at 11:23pm<br /><br />I use a standard XML script (pasted below) to display latest topics on my homepage using the webwiz forum RSS feed.&nbsp; However, every so often&nbsp;someone&nbsp;posts&nbsp;a message I get the following error.&nbsp; I never seem to have this problem with other RSS feeds, just randomly with WebWiz Forum feeds.<DIV>&nbsp;</DIV><DIV>So my question is, can extra code be added to the RSS_topic_feed.asp to validate and replace invalid characters with proper ones for proper RSS support when a post happens with an invalid character?&nbsp; Unfortunately I don't know which characters are causing the error so I am not expecting a miracle just some hope that someone will check into this.</DIV><DIV>&nbsp;</DIV><DIV>BTW, this is a great script to use if you want to display content from the webwiz RSS feeds... </DIV><DIV>&nbsp;</DIV><DIV>Here is the error I randomly receive with the standard code... </DIV><DIV>&nbsp;</DIV><DIV><strong><U>Error:</U></strong></DIV><DIV><strong>An invalid character was found in text content. Error has occured while trying to process </strong><a href="http://www.myXXforum.com/forum/RSS_topic_feed.asp" target="_blank"><strong>www.myXXforum.com/forum/RSS_topic_feed.asp</strong></A><BR><strong>Please contact web-master</strong></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><strong><U>Script:</U></strong></DIV><DIV><EM>&lt;%<BR>Response.Expires = -1 </EM><P><EM>' =========== RSS2HTML.ASP for ASP/ASP.NET ==========<BR>' copyright 2005-2007 (c) www.Bytescout.com<BR><strong>' version 1.22, 25 April 2007 </strong><BR>' ===============================================<BR>' ##############################################################<BR>' ####### CHECK OUR COMMERCIAL PRODUCTS FOR ASP/ASP.NET: #######<BR>' SWF Scout &#091; http://bytescout.com/swfscout.html &#093;- create, read, modify flash movies (SWF)<BR>' PDFDoc Scout &#091; http://bytescout.com/pdfdocscout.html &#093;- generate PDF documents with security options (PDF)<BR>' ##############################################################</EM></P><P><EM>' =========== configuration =====================<BR>' ##### URL to RSS Feed to display #########<BR>URLToRSS = "http://bytescout.com/blog/feed"</EM></P><P><EM>' ##### max number of displayed items #####<BR>MaxNumberOfItems = 7</EM></P><P><EM>' ##### Main template constants<BR>MainTemplateHeader = "&lt;table&gt;"<BR>MainTemplateFooter = "&lt;/table&gt;"<BR>' ##### </EM></P><P><EM>' ######################################<BR>Keyword1 = "" ' Keyword1 = "tech" - set non-empty keyword value to filter by this keyword<BR>Keyword2 = "" ' Keyword1 = "win" - set non-empty keyword value to filter by this 2nd keyword too<BR>' #################################</EM></P><P><EM>' ##### Item template.<BR>' ##### {LINK} will be replaced with item link<BR>' ##### {TITLE} will be replaced with item title<BR>' ##### {DESCRIPTION} will be replaced with item description<BR>' ##### {DATE} will be replaced with item date and time<BR>' ##### {COMMENTSLINK} will be replaced with link to comments (if you use RSS feed from blog)<BR>' ##### {CATEGORY} will be replaced with item category<BR>ItemTemplate = "&lt;tr&gt;&lt;td&gt;&lt;strong&gt;{DATE}&lt;/strong&gt;&lt;br/&gt;&lt;strong&gt;{CATEGORY}&lt;br/&gt;&lt;/strong&gt;&lt;a href=" &amp; """{LINK}""" &amp; "&gt;{TITLE}&lt;/a&gt;&lt;BR&gt;{DESCRIPTION}&lt;/td&gt;&lt;/tr&gt;"</EM></P><P><EM>' ##### Error message that will be displayed if not items etc<BR>ErrorMessage = "Error has occured while trying to process " &amp;URLToRSS &amp; "&lt;BR&gt;Please contact web-master"</EM></P><P><EM>' ================================================</EM></P><P><EM>Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP.3.0")<BR>xmlHttp.Open "Get", URLToRSS, false<BR>xmlHttp.Send()<BR>RSSXML = xmlHttp.ResponseText</EM></P><P><EM>Set xmlDOM = Server.CreateObject("MSXML2.DomDocument.3.0")<BR>xmlDOM.async = False<BR>xmlDOM.validateOnParse = False<BR>xmlDom.resolveExternals = False</EM></P><P><EM>If not xmlDOM.LoadXml(RSSXML) Then<BR>ErrorMessage = "Can not load XML:" &amp; vbCRLF &amp; xmlDOM.parseError.reason &amp; vbCRLF &amp; ErrorMessage<BR>End If </EM></P><P><EM>Set xmlHttp = Nothing ' clear HTTP object</EM></P><P><EM>Set RSSItems = xmlDOM.getElementsByTagName("item") ' collect all "items" from downloaded RSS</EM></P><P><EM>RSSItemsCount = RSSItems.Length-1</EM></P><P><EM>' if not &lt;item&gt;..&lt;/item&gt; entries, then try to get &lt;entry&gt;..&lt;/entry&gt;<BR>if RSSItemsCount = -1 Then <BR>Set RSSItems = xmlDOM.getElementsByTagName("entry") ' collect all "entry" (atom format) from downloaded RSS<BR>RSSItemsCount = RSSItems.Length-1</EM></P><P><EM>End If </EM></P><P><EM>Set xmlDOM = Nothing ' clear XML</EM></P><P><EM><BR>' writing Header<BR>if RSSItemsCount &gt; 0 then <BR>Response.Write MainTemplateHeader<BR>End If</EM></P><P><EM>j = -1</EM></P><P><EM>For i = 0 To RSSItemsCount<BR>Set RSSItem = RSSItems.Item(i)</EM></P><P><EM>for each child in RSSItem.childNodes</EM></P><P><EM>Select case lcase(child.nodeName)<BR>case "title"<BR>RSStitle = child.text<BR>case "link"<BR>If RSSLink = "" Then<BR>If child.Attributes.length&gt;0 Then<BR>RSSLink = child.GetAttribute("href")<BR>if (RSSLink &lt;&gt; "") Then<BR>if child.GetAttribute("rel") &lt;&gt; "alternate" Then<BR>RSSLink = ""<BR>End If<BR>End If<BR>End If ' if has attributes <BR>If RSSLink = "" Then<BR>RSSlink = child.text<BR>End If<BR>End If<BR>case "description"<BR>RSSdescription = child.text<BR>case "content" ' atom format<BR>RSSdescription = child.text<BR>case "published"' atom format<BR>RSSDate = child.text<BR>case "pubdate"<BR>RSSDate = child.text<BR>case "comments"<BR>RSSCommentsLink = child.text<BR>case "category"<BR>Set CategoryItems = RSSItem.getElementsByTagName("category")<BR>RSSCategory = ""<BR>for each categoryitem in CategoryItems<BR>if RSSCategory &lt;&gt; "" Then <BR>RSSCategory = RSSCategory &amp; ", "<BR>End If<BR><BR>RSSCategory = RSSCategory &amp; categoryitem.text<BR>Next<BR>End Select<BR>next</EM></P><P><EM>' now check filter<BR>If (InStr(RSSTitle,Keyword1)&gt;0) or (InStr(RSSTitle,Keyword2)&gt;0) or (InStr(RSSDescription,Keyword1)&gt;0) or (InStr(RSSDescription,Keyword2)&gt;0) then</EM></P><P><EM>j = J+1</EM></P><P><EM>if J&lt;MaxNumberOfItems then <BR>ItemContent = Replace(ItemTemplate,"{LINK}",RSSlink)<BR>ItemContent = Replace(ItemContent,"{TITLE}",RSSTitle)<BR>ItemContent = Replace(ItemContent,"{DATE}",RSSDate)<BR>ItemContent = Replace(ItemContent,"{COMMENTSLINK}",RSSCommentsLink)<BR>ItemContent = Replace(ItemContent,"{CATEGORY}",RSSCategory)</EM></P><P><EM>Response.Write Replace(ItemContent,"{DESCRIPTION}",RSSDescription)<BR>ItemContent = ""<BR>End if<BR>End If </EM></P><P><EM>Next</EM></P><P><EM>' writing Footer<BR>if RSSItemsCount &gt; 0 then <BR>Response.Write MainTemplateFooter<BR>else <BR>Response.Write ErrorMessage<BR>End If</EM></P><P><EM>' Response.End ' uncomment this for use in on-the-fly output<BR>%&gt;</EM></P></DIV>]]>
   </description>
   <pubDate>Tue, 01 May 2007 23:23:46 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/webwiz-rss-funky_topic23233_post122488.html#122488</guid>
  </item> 
 </channel>
</rss>