• 0

Cutenews RSS Feed


Question

OK, I am using the Cutenews RSS feed script found at

http://cutephp.com/forum/index.php?showtopic=49

but I am getting errors because of something cutenews does automatically. How can I stop it form doing it?

To see the error go to http://timrogers.host-dot.com/blog/cutenews/rss.php

Link to comment
https://www.neowin.net/forum/topic/307058-cutenews-rss-feed/
Share on other sites

15 answers to this question

Recommended Posts

  • 0
OK, I am using the Cutenews RSS feed script found at

http://cutephp.com/forum/index.php?showtopic=49

but I am getting errors because of something cutenews does automatically. How can I stop it form doing it?

To see the error go to http://timrogers.host-dot.com/blog/cutenews/rss.php

585753736[/snapback]

Because the start tag is <title> but ends in </channel>

Looks pretty straight foward to me. Either you are missing </title> somewhere or you are missing <channel>

You could probably just have posted the source to the file that was erroring and then someone could have pointed out exactly where for you.

  • 0

I added a channel tag at the start, now I'm getting a different error:

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

A semi colon character was expected. Error processing resource 'http://timrogers.host-dot.com/blog/cutenews/rss.php'. Line...

&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;id=1111916746&amp;archive=&lt;/link&amp;...

and this is the code in the active news section:

&lt;channel&gt;
&lt;item&gt;
&lt;title&gt;{title}&lt;/title&gt;
&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;id={news-id}&amp;archive={archive-id}&lt;/link&gt;
&lt;description&gt;&lt;![CDATA[{short-story}]]&gt;&lt;/description&gt;
&lt;/item&gt;

Now what?

  • 0
I added a channel tag at the start, now I'm getting a different error:

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 
--------------------------------------------------------------------------------

A semi colon character was expected. Error processing resource 'http://timrogers.host-dot.com/blog/cutenews/rss.php'. Line...

&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;id=1111916746&amp;archive=&lt;/link&amp;...

585754892[/snapback]

Your <link& is the problem. Change that to:

&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;id=1111916746&amp;archive=&lt;/link&gt;

  • 0

Root, I've done what you said, so now the code is:

&lt;channel&gt;
&lt;item&gt;
&lt;title&gt;{title}&lt;/title&gt;
&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;id;=1111916746&amp;archive=&lt;/link&gt;
&lt;description&gt;&lt;![CDATA[{short-story}]]&gt;&lt;/description&gt;
&lt;/item&gt;

But still I am getting the error:

The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

A semi colon character was expected. Error processing resource 'http://www.timrogers.host-dot.com/blog/cutenews/rss.php'. Line 12, Position 81 

&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;id=1111916746&amp;archive=&lt;/link&gt;
--------------------------------------------------------------------------------^

Now what?

  • 0

And now were back to:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

End tag 'channel' does not match the start tag 'title'. Error processing resource 'http://www.timrogers.host-dot.com/blog/c...

<!-- News Powered by CuteNews: http://cutephp.com/ --></channel></rss>

----------------------------------...

  • 0
And now were back to:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

End tag 'channel' does not match the start tag 'title'. Error processing resource 'http://www.timrogers.host-dot.com/blog/c...

<!-- News Powered by CuteNews: http://cutephp.com/ --></channel></rss>

----------------------------------...

585759527[/snapback]

If you want just attach the php file here and someone will take a look at it. At least I will.

  • 0

Here is the code on the RSS template:

&lt;channel&gt;
&lt;item&gt;
&lt;title&gt;{title}&lt;/title&gt;
&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;id;=1111916746&amp;archive=&lt;/link&gt;
&lt;description&gt;&lt;![CDATA[{short-story}]]&gt;&lt;/description&gt;
&lt;/item&gt;

And the code in rss.php:

&lt;?PHP
header("Content-type: text/xml");
echo"&lt;?xml version=\"1.0\" encoding=\"windows-1252\" ?&gt;
&lt;rss version=\"0.91\" &gt;
 &lt;channel&gt;
   &lt;title&gt;TimRogersBlog&lt;/title&gt;
   &lt;link&gt;http://www.tim-rogers.co.uk&lt;/link&gt;
   &lt;language&gt;en-us&lt;/language&gt;
   &lt;description&gt;Blog&lt;/description&gt;
   &lt;generator&gt;CuteNews&lt;/generator&gt;
";

$template="rss";
include("show_news.php");

echo"&lt;/channel&gt;&lt;/rss&gt;";
?&gt;

  • 0

And I corrected it, and guess what now! Another problem, here is the error:

XML Parsing Error: undefined entity

Location: http://timrogers.host-dot.com/blog/cutenews/rss.php

Line Number 12, Column 78:<link>http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&ampid;=1111916746&amparchive=</link>

-----------------------------------------------------------------------------^

Edited by TimRogers
  • 0

&lt;?xml version="1.0" encoding="windows-1252" ?&gt;
&lt;rss version="0.91" &gt;
 &lt;channel&gt;
 ? &lt;title&gt;TimRogers&lt;/title&gt;
 ? &lt;link&gt;http://www.tim-rogers.co.uk&lt;/link&gt;
 ? &lt;language&gt;en-us&lt;/language&gt;
 ? &lt;description&gt;Blog&lt;/description&gt;
 ? &lt;generator&gt;CuteNews&lt;/generator&gt;
&lt;channel&gt;
&lt;item&gt;
&lt;title&gt;We Are Back!&lt;/title&gt;
&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;ampid;=1111916746&amp;amparchive=&lt;/link&gt;
&lt;description&gt;&lt;![CDATA[OK, sorry everyone, the blog is back after problems installing the RSS feed for MSN alerts, way to subcribe coming very soon! ?&lt;img style="border: none;" alt="smile" src="https://timrogers.host-dot.com/blog/cutenews/data/emoticons/smile.gif" /&gt;]]&gt;&lt;/description&gt;
&lt;/item&gt;&lt;!-- News Powered by CuteNews: http://cutephp.com/ --&gt;&lt;/channel&gt;&lt;/rss&gt;

See the <channel> tags? One wasn't closed. The one right above the <item> tag is your culprit. I would assume you can just remove it and everything will work fine. That or add </channel> above it.

Edit:...also you aren't using a WYSIWYG editor to edit this file right? I understand you'd be looking in an "edit source" type option, but some WYSIWYG editors will get confused when trying to keep everything correct and actually mess it up.

  • 0

OK, removed channel tags...

RSS.php code is:

&lt;?PHP
header("Content-type: text/xml");
echo"&lt;?xml version=\"1.0\" encoding=\"windows-1252\" ?&gt;
&lt;rss version=\"0.91\" &gt;
 &lt;channel&gt;
   &lt;title&gt;TimRogers&lt;/title&gt;
   &lt;link&gt;http://www.tim-rogers.co.uk&lt;/link&gt;
   &lt;language&gt;en-us&lt;/language&gt;
   &lt;description&gt;Blog&lt;/description&gt;
   &lt;generator&gt;CuteNews&lt;/generator&gt;
";

$template="rss";
include("show_news.php");

echo"&lt;/channel&gt;&lt;/rss&gt;";
?&gt;

and the code for the cutenews RSS template is:

&lt;item&gt;
&lt;title&gt;{title}&lt;/title&gt;
&lt;link&gt;http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&amp;id=1111916746&amp;archive=&lt;/link&gt;
&lt;description&gt;&lt;![CDATA[{short-story}]]&gt;&lt;/description&gt;
&lt;/item&gt;

And now, here is the error on rss.php:

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

Reference to undefined entity 'id'. Error processing resource 'http://www.timrogers.host-dot.com/blog/cutenews/rss.php'. Line 11, Position 79

<link>http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&id;=1111916746&archive=</link>

------------------------------------------------------------------------------^

  • 0

I didn't catch it before, but you have a <description> tag closed, but not opened. Look below to what's in bold. There is no <description> tag to close.

<?xml version="1.0" encoding="windows-1252" ?>

<rss version="0.91" >

<channel>

<title>TimRogers</title>

<link>http://www.tim-rogers.co.uk</link>

<language>en-us</language>

<description>Blog</description>

<generator>CuteNews</generator>

<item>

<title>We Are Back!</title>

<link>http://timrogers.host-dot.com/cutenews/show_news.php?subaction=showfull&ampid=1111916746&amparchive=</link>

<description><![CDATA[OK, sorry everyone, the blog is back after problems installing the RSS feed for MSN alerts, way to subcribe coming very soon! <img style="border: none;" alt="smile" src="http://timrogers.host-dot.com/blog/cutenews/data/emoticons/smile.gif" />]]></description>

</item><!-- News Powered by CuteNews: http://cutephp.com/ --></channel></rss>

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Frankly, I blame whoever is writing such articles. "A big improvement/update and/or new feature is now available to everyone! Also, use this unofficial tweak tool to enable it because it actually isn't available to you yet officially and might not in fact even be entirely ready or whatever, hence why it is perhaps not enabled for you*. But it's great and you should enable it!" I mean there's nothing wrong with sharing info about some feature you might need to enable via unofficial means, of course. It's just that these articles tend to essentially end up being two news pieces in one, and one of them tends to be a bit misleading. (*Yes, yes, the "it's a controlled rollout!" thing. Not a fan of that one either. The argument, not the actual rollout.)
    • Thank you. Will do. I read in the release notes that editor config might be at play here.
    • Actually, I think even Microsoft doesn't know how to control it
    • OpenAI is making Codex more useful in Chrome and the cloud by Pradeep Viswanathan OpenAI's Codex now has more than 5 million users, up nearly 4x from earlier this year. To further accelerate Codex's growth among developers, OpenAI today announced that it has agreed to acquire Ona, a company that builds secure cloud execution and orchestration technology for developers. Ona will enable developers to run Codex with persistent and controlled cloud infrastructure for long-running agentic workflows. Right now, most Codex execution happens locally on developers' laptops and PCs, and the agents work continuously for hours. Through Ona, OpenAI aims to make Codex agents keep working for days without being tied to a user’s local machine or an active session. This will be an important capability for enterprises that want to deploy AI agents in production while maintaining control over infrastructure, data, security boundaries, credential scope, logging, and review workflows. Like any acquisition, the deal is still subject to customary closing conditions, including regulatory approvals. Until the deal closes, OpenAI and Ona will continue to operate as separate companies. After closing, Ona’s team will join the Codex team to improve developer workflows. Alongside the Ona acquisition announcement, OpenAI today introduced a few Codex updates. Developers can now save Codex rate limit resets and use them later instead of losing them when they are not needed immediately. OpenAI is also adding a referral option where users can invite a friend to Codex and get a saved rate limit reset. OpenAI today also announced a developer mode for browser use in Chrome and the Codex in-app browser. With this mode, Codex can use the Chrome DevTools Protocol to debug web apps, inspect pages, and work more directly with browser-based development workflows. Developers can use this when they want Codex to profile JavaScript, inspect console output and network traffic, examine web page states including the DOM and applied styles, and more.
    • Camtasia 2026.1.3 by Razvan Serea TechSmith Camtasia is the complete professional solution for high-quality screen recording, video editing and sharing. Camtasia 2026 makes editing your videos easier, and faster than ever. The new editor is packed with enhanced video processing, all-new production technology, an innovative library, and stock videos and other creative assets to help you create more polished, professional videos. No video experience needed. Anyone can create informative, engaging videos. Create professional, eye-catching videos: Add special video effects - Apply Behaviors that are perfectly designed to animate your text, images, or icons. Get a crisp, polished look without being a professional video editor. Drag-and-drop your edits - What you see is what you get. Every effect and element in your video can be dropped and edited directly in the preview window. And you can edit at resolutions up to beautiful 4K, for clear video at any size. Get exceptional performance - Camtasia takes full advantage of your computer’s processor with 64-bit performance. You’ll get fast rendering times and enhanced stability—even on your most complex projects. Camtasia 2026.1.3 changelog: Feature Updates Improved keyboard navigability in tool panels. Improved screen reader accessibility of headings in Preferences. Tool panels can now be resized using a keyboard-navigable control. Updated color of folder icon in User Library tab for better visibility. Grouped media now render a composite waveform considering all audio media within that group. Added Long Path Aware to the manifest of Editor and Recorder. Performance Improvements Improved performance for editing groups on the timeline. Improved the project loading performance when timeline has lots of trec media with cursor data. Updates for IT Administrators Updated cpp-httplib from 0.38.0 to 0.43.3. Updated expat from 2.7.4 to 2.8.0. Updated freetype from 2.13.3 to 2.14.3. Updated harfbuzz from 13.0.1 to 14.2.0. Updated libpng16 from 1.6.55 to 1.6.58. Updated pango from 1.57.0 to 1.57.1. Updated girepository from 2.86.3 to 2.88.0. Updated pcre2-posix from 10.47.0 to 12.0.2. Added new harfbuzz-gpu.dll. Updated FFmpeg from 7.1.1 to 7.1.2. Updated aom from 3.11.0 to 3.13.1. Updated dav1d from 1.5.0 to 1.5.1. Updated ogg from 1.3.5 to 1.3.6. Updated SDL2 from 2.32.4 to 2.32.10. Updated zlib from 1.3.1 to 1.3.2. Updated Nalpeiron binaries to version 4.4.69.3. Bug Fixes Fixed an issue which prevented some user submitted crash reports from being sent. Fixed a potential memory leak when decoding HEVC or VP9 video. Fixed a potential crash when trying to delete a range selection on a magnetic track. Fixed a bug with the Properties Panel showing stale properties when only a caption is selected on the timeline. Fixed an issue that could prevent the Opacity and Blur properties from being changed in the Background Removal effect. Fixed an issue where larger Camtasia online projects may fail to open in Camtasia Editor. Table of contents thumbnails are no longer created for Smart Player exports with no table of contents. Fix resetting skew revert to revert just skew and not scale as well. Fixed editing in Snagit with snagX file with Unicode characters. Fixed a bug where grouped visual media could be cropped in some cases. Fixed importing SnagX files with Unicode characters. Localization fixes. Download: Camtasia 2026.1.3 | 309.0 MB (Shareware) View: Camtasia Homepage | Tutorials | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
    • One Year In
      slackerzz earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      511
    2. 2
      PsYcHoKiLLa
      188
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!