<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problema Cutenews e feed RSS]]></title><description><![CDATA[<p dir="auto">Ho un problema con cutenews e la configurazione del file rss.php!<br />
In poche parole,lo script sopra citato permette tramite lo stesso di configurare gli RSS ma dopo fatta tutta la procedura il se vado nella paggina dove dovrebbe apparire quindi:</p>
<p dir="auto">"<a href="http://www.miosito.com/rss.php" rel="nofollow ugc">http://www.miosito.com/rss.php</a>"</p>
<p dir="auto">mi dice:<br />
The RSS is not configured.<br />
Please do this from: <strong>CuteNews &gt; Options  &gt; Implementation Wizards &gt; RSS</strong></p>
<p dir="auto"><strong>Come posso fare ho provato anche ad inpostare il file in questione con un programma adatto e ad impostarlo manualmente,ma niente!</strong><br />
<strong>Allego script:</strong></p>
<p dir="auto"><strong>&lt;?PHP</strong><br />
<strong>include('./data/rss_config.php');</strong></p>
<p dir="auto"><strong>if(!isset($rss_news_include_url) or !$rss_news_include_url or $rss_news_include_url == ''){</strong></p>
<pre><code>**die("The RSS is not configured.&lt;br&gt;Please do this from: &lt;strong&gt;CuteNews &gt; Options &gt; Implementation Wizards &gt; RSS&lt;/strong&gt;");**
</code></pre>
<p dir="auto"><strong>}</strong></p>
<p dir="auto"><strong>header("Content-type: text/xml");</strong></p>
<p dir="auto"><strong>echo"&lt;?xml version="1.0" encoding="$rss_encoding" ?&gt;</strong><br />
<strong>&lt;?xml-stylesheet type="text/css" href="skins/rss_style.css" ?&gt;</strong><br />
<strong>&lt;rss version="2.0" &gt;</strong><br />
<strong>&lt;channel&gt;</strong><br />
<strong>&lt;title&gt;$rss_title&lt;/title&gt;</strong><br />
<strong>&lt;link&gt;$rss_news_include_url&lt;/link&gt;</strong><br />
<strong>&lt;language&gt;$rss_language&lt;/language&gt;</strong><br />
<strong>&lt;description&gt;&lt;/description&gt;</strong><br />
<strong>&lt;!-- &lt;docs&gt;This is an RSS 2.0 file intended to be viewed in a newsreader or syndicated to another site. For more information on RSS check : <a href="http://www.feedburner.com/fb/a/aboutrss" rel="nofollow ugc">http://www.feedburner.com/fb/a/aboutrss</a>&lt;/docs&gt; --&gt;</strong><br />
<strong>&lt;generator&gt;CuteNews&lt;/generator&gt;</strong><br />
<strong>";</strong></p>
<p dir="auto"><strong>if(!$_GET[number] or $_GET[number] == ''){ $number = 10;}else{ $number = $_GET[number];}</strong><br />
<strong>if(!$_GET[only_active] or $_GET[only_active] == ''){ $only_active = TRUE;}else{ $only_active = $_GET[only_active];}</strong></p>
<p dir="auto"><strong>$template="rss";</strong><br />
<strong>include("show_news.php");</strong></p>
<p dir="auto"><strong>echo"&lt;/channel&gt;&lt;/rss&gt;";</strong><br />
<strong>?&gt;</strong></p>
<p dir="auto"><strong>Come posso fare,help me?????</strong><br />
<strong>Grazie in anticipo.</strong></p>
]]></description><link>https://dev.connect.gt/topic/43024/problema-cutenews-e-feed-rss</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 20:05:12 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/43024.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Aug 2007 20:30:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problema Cutenews e feed RSS on Sun, 12 Aug 2007 12:40:55 GMT]]></title><description><![CDATA[<p dir="auto">Questo è il contenuto del file "show_news.php":</p>
<p dir="auto">&lt;?PHP</p>
<p dir="auto">error_reporting (E_ALL ^ E_NOTICE);</p>
<p dir="auto">$cutepath =  <strong>FILE</strong>;<br />
$cutepath = preg_replace( "'\\show_news.php'", "", $cutepath);<br />
$cutepath = preg_replace( "'/show_news.php'", "", $cutepath);</p>
<p dir="auto">require_once("$cutepath/inc/functions.inc.php");<br />
require_once("$cutepath/data/config.php");</p>
<p dir="auto">// If we are showing RSS, include some need variables.<br />
if($template == 'rss'){<br />
include("$cutepath/data/rss_config.php");<br />
}</p>
<p dir="auto">//----------------------------------<br />
// Check if we are included by PATH<br />
//----------------------------------<br />
if($HTTP_SERVER_VARS["HTTP_ACCEPT"] or $HTTP_SERVER_VARS["HTTP_ACCEPT_CHARSET"] or $HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"] or $HTTP_SERVER_VARS["HTTP_CONNECTION"]){ /* do nothing */ }<br />
elseif(eregi("show_news.php", $PHP_SELF)){<br />
die("&lt;h4&gt;CuteNews has detected that you are including show_news.php using the URL to this file.&lt;br&gt;<br />
This is incorrect and you must include it using the PATH to show_news.php&lt;/h4&gt;&lt;br&gt;Example:&lt;br&gt;<br />
this is &lt;font color=red&gt;WRONG&lt;/font&gt; :   &lt;?PHP include("<a href="http://yoursite.com/cutenews/show_news.php%5C" rel="nofollow ugc">http://yoursite.com/cutenews/show_news.php\</a>"); ?&gt;&lt;br&gt;<br />
this is &lt;font color=green&gt;CORRECT&lt;/font&gt;:   &lt;?PHP include("cutenews/show_news.php"); ?&gt;&lt;br&gt;<br />
&lt;br&gt;&lt;BR&gt;// &lt;font size=2&gt;if you think this message shouldn't be shown, open show_news.php and delete it from there&lt;/font&gt;");<br />
}<br />
//----------------------------------<br />
// End of the check<br />
//----------------------------------</p>
<p dir="auto">if(!isset($subaction) or $subaction == ""){ $subaction = $POST["subaction"]; }</p>
<p dir="auto">if(!isset($template) or $template == "" or strtolower($template) == "default"){ require_once("$cutepath/data/Default.tpl"); }<br />
else{<br />
if(file_exists("$cutepath/data/${template}.tpl")){ require("$cutepath/data/${template}.tpl"); }<br />
else{ die("Error!&lt;br&gt;the template &lt;b&gt;".htmlspecialchars($template)."&lt;/b&gt; does not exists, note that templates are case sensetive and you must write the name exactly as it is"); }<br />
}</p>
<p dir="auto">// Prepare requested categories<br />
if(eregi("[a-z]", $category)){<br />
die("&lt;b&gt;Error&lt;/b&gt;!&lt;br&gt;CuteNews has detected that you use $category = "".htmlspecialchars($category).""; but you can call the categories only with their &lt;b&gt;ID&lt;/b&gt; numbers and not with names&lt;br&gt;<br />
example:&lt;br&gt;&lt;blockquote&gt;&lt;?PHP&lt;br&gt;$category = "1";&lt;br&gt;include("path/to/show_news.php");&lt;br&gt;?&gt;&lt;/blockquote&gt;");<br />
}<br />
$category = preg_replace("/ /", "", $category);<br />
$tmp_cats_arr = explode(",", $category);<br />
foreach($tmp_cats_arr as $key=&gt;$value){<br />
if($value != ""){ $requested_cats[$value] = TRUE; }<br />
}</p>
<p dir="auto">if($archive == ""){<br />
$news_file = "$cutepath/data/news.txt";<br />
$comm_file = "$cutepath/data/comments.txt";<br />
}else{<br />
$news_file = "$cutepath/data/archives/$archive.news.arch";<br />
$comm_file = "$cutepath/data/archives/$archive.comments.arch";<br />
}</p>
<p dir="auto">$allow_add_comment                        = FALSE;<br />
$allow_full_story                        = FALSE;<br />
$allow_active_news                         = FALSE;<br />
$allow_comments                         = FALSE;</p>
<p dir="auto">//&lt;&lt;&lt;------------ Detarime what user want to do<br />
if( $CN_HALT != TRUE and $static != TRUE and ($subaction == "showcomments" or $subaction == "showfull" or $subaction == "addcomment") and ((!isset($category) or $category == "") or ($requested_cats[$ucat] == TRUE )  ) ){<br />
if($subaction == "addcomment"){  $allow_add_comment        = TRUE; $allow_comments = TRUE; }<br />
if($subaction == "showcomments"){ $allow_comments = TRUE; }<br />
if(($subaction == "showcomments" or $allow_comments == TRUE) and $config_show_full_with_comments == "yes"){$allow_full_story = TRUE; }<br />
if($subaction == "showfull") $allow_full_story = TRUE;<br />
if($subaction == "showfull" and $config_show_comments_with_full == "yes") $allow_comments = TRUE;</p>
<p dir="auto">}<br />
else{<br />
if($config_reverse_active == "yes"){ $reverse = TRUE; }<br />
$allow_active_news = TRUE;<br />
}<br />
//-----------&gt;&gt;&gt; Detarime what user want to do</p>
<p dir="auto">require("$cutepath/inc/shows.inc.php");<br />
if($_GET['archive'] and $_GET['archive'] != ''){ $archive = $_GET['archive']; } // stupid fix ?<br />
unset($static, $template, $requested_cats, $category, $catid, $cat,$reverse, $in_use, $archives_arr, $number, $no_prev, $no_next, $i, $showed, $prev, $used_archives);</p>
<p dir="auto">?&gt;</p>
<p dir="auto">E questo è il risultato finale di "rss.php":<a href="http://www.bevilo.com/index.php?subaction=showfull&amp;id=1186428707" rel="nofollow ugc">http://www.bevilo.com/index.php?subaction=showfull&amp;id=1186428707</a>  &lt;p align="justify"&gt;&lt;span style="color: rgb(255,  255, 255);"&gt;&lt;img style="width: 297px; height: 222px;" alt=""  src="<a href="http://www.bevilo.com/data/upimages/Faber_beach.jpg" rel="nofollow ugc">http://www.bevilo.com/data/upimages/Faber_beach.jpg</a>" align="none"  border="0"&gt;&lt;br&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;font  face="Verdana, Arial, Helvetica, sans-serif" size="2"&gt;Locale ad Ostia (Roma)  aperto solamente in estate, ma in quei quattro mesi è uno dei  più  frequentati.&lt;br&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span  style="color: rgb(255, 255, 255);"&gt;&lt;span style="color: rgb(0, 0,  0);"&gt;&lt;font face="Verdana, Arial, Helvetica, sans-serif"  size="2"&gt;&lt;br&gt;&lt;/font&gt;&lt;span style="background-color: rgb(255,  255, 255);"&gt;&lt;span style="background-color: rgb(153, 0, 0);"&gt;&lt;font  face="Verdana, Arial, Helvetica, sans-serif" size="2"&gt;&lt;strong&gt;Faber  beach&lt;/strong&gt; &lt;br&gt;&lt;/font&gt;&lt;span style="background-color:  rgb(255, 255, 255);"&gt;&lt;font face="Verdana, Arial, Helvetica, sans-serif"  size="2"&gt;LungoMare Paolo Toscanelli 199&lt;br&gt;00121 Ostia  (Roma)&lt;br&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face="Verdana,  Arial, Helvetica, sans-serif" size="2"&gt;Tel:  06/5613849&lt;br&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a  href="<a href="http://www.faberbeach.com/" rel="nofollow ugc">http://www.faberbeach.com/</a>" target="_blank"&gt;&lt;font face="Verdana,  Arial, Helvetica, sans-serif" size="2"&gt;Sito  ufficiale&lt;/font&gt;&lt;/a&gt;&lt;br&gt;&lt;/p&gt;</p>
<p dir="auto">In pratica nn mi visualizza solo la notizia postata ma tutto l'html come si pùo vedere sopra.<br />
Comunque ho provato ad aprire gli RSS di altri siti ed il risultato è lo stesso,probabilmente è propio i.explorer che a difficolta a leggere lo script!?!?<br />
Grazie in anticipo per la risposta e spero di essermi espresso meglio,purtroppo l'inesperienza porta anche ad essere inprecisi.<br />
Grazie ancora</p>
]]></description><link>https://dev.connect.gt/post/579373</link><guid isPermaLink="true">https://dev.connect.gt/post/579373</guid><dc:creator><![CDATA[monny77]]></dc:creator><pubDate>Sun, 12 Aug 2007 12:40:55 GMT</pubDate></item><item><title><![CDATA[Reply to Problema Cutenews e feed RSS on Sat, 11 Aug 2007 15:12:23 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Monny77</strong></p>
<p dir="auto">Grazie per la risposta ma...:x<br />
Ho provato con entrambe i percorsi ma con I.E non cambia assolutamente nulla,x Mozzilla il primo percorso nn funge invece con il secondo  va alla perfezione;quindi deduco  che  " include('data/rss_config.php'); " sia esatto!<br />
Praticamente explorer mi visualizza la paggina con i comandi HTML in bella visione.Di seguito ti mostro un esempio:</p>
<p dir="auto">]]&gt; 1186594067 Wed,  08 Aug 2007 19:27:47 +0200  <a href="http://www.bevilo.com/index.php?subaction=showfull&amp;id=1186428707" rel="nofollow ugc">http://www.bevilo.com/index.php?subaction=showfull&amp;id=1186428707</a></p>
<p dir="auto">Invece di mostrare il titolo del Post e cioè:</p>
<p dir="auto">Faber beach (clikkabile)</p>
<p dir="auto">Perchè Bill ce deve complicà la vita...<img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f622.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--cry" style="height:1.4em;width:auto;vertical-align:middle" title=":cry:" alt="😢" /><br />
Grazie in anticipo per la risposta</p>
</blockquote>
<p dir="auto">Quello che hai postato suppongo sia l'output di include("show_news.php");<br />
Posta il suo codice.</p>
<p dir="auto">P.S.: quando poni un quesito su un problema cerca di essere il più esaustivo possibili. In questo modo avrei evitato di scriverti più volte "posta questo" e" posta quello". Questo poichè se avessi avuto fretta o stanchezza magari non ti rispondevo. Credo questo valga anche per molti. Prendilo come un consiglio. A volte se non si risponde ad una discussione non è perchè nessuna sa la risposta, ma può dipendere da una domanda esposta male o incompleta.</p>
]]></description><link>https://dev.connect.gt/post/579368</link><guid isPermaLink="true">https://dev.connect.gt/post/579368</guid><dc:creator><![CDATA[ayrton2001]]></dc:creator><pubDate>Sat, 11 Aug 2007 15:12:23 GMT</pubDate></item><item><title><![CDATA[Reply to Problema Cutenews e feed RSS on Fri, 10 Aug 2007 18:12:00 GMT]]></title><description><![CDATA[<p dir="auto">Grazie per la risposta ma...:x<br />
Ho provato con entrambe i percorsi ma con I.E non cambia assolutamente nulla,x Mozzilla il primo percorso nn funge invece con il secondo  va alla perfezione;quindi deduco  che  " include('data/rss_config.php'); " sia esatto!<br />
Praticamente explorer mi visualizza la paggina con i comandi HTML in bella visione.Di seguito ti mostro un esempio:</p>
<p dir="auto">]]&gt; 1186594067 Wed,  08 Aug 2007 19:27:47 +0200  <a href="http://www.bevilo.com/index.php?subaction=showfull&amp;id=1186428707" rel="nofollow ugc">http://www.bevilo.com/index.php?subaction=showfull&amp;id=1186428707</a></p>
<p dir="auto">Invece di mostrare il titolo del Post e cioè:</p>
<p dir="auto">Faber beach (clikkabile)</p>
<p dir="auto">Perchè Bill ce deve complicà la vita...<img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f622.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--cry" style="height:1.4em;width:auto;vertical-align:middle" title=":cry:" alt="😢" /><br />
Grazie in anticipo per la risposta</p>
]]></description><link>https://dev.connect.gt/post/579372</link><guid isPermaLink="true">https://dev.connect.gt/post/579372</guid><dc:creator><![CDATA[monny77]]></dc:creator><pubDate>Fri, 10 Aug 2007 18:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to Problema Cutenews e feed RSS on Thu, 09 Aug 2007 23:09:01 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>Monny77</strong></p>
<p dir="auto">Help me.........<br />
Nn riesco a capire xchè sto c....o de I.E. nn me visualizza la paggina de feed RSS!!!</p>
</blockquote>
<p dir="auto">Secondo me la pagina non include correttamente il file ./data/rss_config.php</p>
<p dir="auto">Anziche: include('./data/rss_config.php');<br />
prova ad usare un persorso relativo, per esempio include('.../data/rss_config.php'); oppure include('data/rss_config.php'); in base a dove si trova la cartella "data".</p>
]]></description><link>https://dev.connect.gt/post/579369</link><guid isPermaLink="true">https://dev.connect.gt/post/579369</guid><dc:creator><![CDATA[ayrton2001]]></dc:creator><pubDate>Thu, 09 Aug 2007 23:09:01 GMT</pubDate></item><item><title><![CDATA[Reply to Problema Cutenews e feed RSS on Thu, 09 Aug 2007 20:12:05 GMT]]></title><description><![CDATA[<p dir="auto">Help me.........<br />
Nn riesco a capire xchè sto c....o de I.E. nn me visualizza la paggina de feed RSS!!!</p>
]]></description><link>https://dev.connect.gt/post/579371</link><guid isPermaLink="true">https://dev.connect.gt/post/579371</guid><dc:creator><![CDATA[monny77]]></dc:creator><pubDate>Thu, 09 Aug 2007 20:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to Problema Cutenews e feed RSS on Thu, 09 Aug 2007 10:48:46 GMT]]></title><description><![CDATA[<p dir="auto">&lt;?PHP</p>
<p dir="auto">//RSS Configurations (Auto Generated file)</p>
<p dir="auto">$rss_news_include_url = "<a href="http://www.miosito.com/index.php" rel="nofollow ugc">http://www.miosito.com/index.php</a>";</p>
<p dir="auto">$rss_title = "<a href="http://Bevilo.com" rel="nofollow ugc">Bevilo.com</a> La guida ai locali di Roma costruita da te ";</p>
<p dir="auto">$rss_encoding = "UTF-8";</p>
<p dir="auto">$rss_language = "en-it";</p>
<p dir="auto">?&gt;</p>
<p dir="auto">Adesso in parte il problema lo risolto....Nel senso che con Mozilla me lo visualizza in modo perfetto invece con I.E. nn mi visualizza le img. ,nn mi impagina le notizie,il titolo/link me lo visualizza come indirizzo web nn clikkabile e nn capisco per quale motivo.Da cosa può dipendere?<br />
Grazie ancora.</p>
]]></description><link>https://dev.connect.gt/post/579370</link><guid isPermaLink="true">https://dev.connect.gt/post/579370</guid><dc:creator><![CDATA[monny77]]></dc:creator><pubDate>Thu, 09 Aug 2007 10:48:46 GMT</pubDate></item><item><title><![CDATA[Reply to Problema Cutenews e feed RSS on Thu, 09 Aug 2007 02:57:41 GMT]]></title><description><![CDATA[<p dir="auto">posta il contenuto del file ./data/rss_config.php</p>
]]></description><link>https://dev.connect.gt/post/579367</link><guid isPermaLink="true">https://dev.connect.gt/post/579367</guid><dc:creator><![CDATA[ayrton2001]]></dc:creator><pubDate>Thu, 09 Aug 2007 02:57:41 GMT</pubDate></item></channel></rss>