Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>At swcombine.com we use <a href="http://feedcreator.org/" rel="nofollow noreferrer">Feedcreator</a>. Use that one and your problem will be gone. :)</p> <p>Here is the PHP code to use it once installed:</p> <pre><code>function feed_simnews() { $objRSS = new UniversalFeedCreator(); $objRSS-&gt;title = 'My News'; $objRSS-&gt;link = 'http://link.to/news.php'; $objRSS-&gt;description = 'daily news from me'; $objRSS-&gt;xsl = 'http://link.to/feeds/feedxsl.xsl'; $objRSS-&gt;language = 'en'; $objRSS-&gt;copyright = 'Copyright: Mine!'; $objRSS-&gt;webmaster = 'webmaster@somewhere.com'; $objRSS-&gt;syndicationURL = 'http://link.to/news/simnews.php'; $objRSS-&gt;ttl = 180; $objImage = new FeedImage(); $objImage-&gt;title = 'my logo'; $objImage-&gt;url = 'http://link.to/feeds/logo.jpg'; $objImage-&gt;link = 'http://link.to'; $objImage-&gt;description = 'Feed provided by link.to. Click to visit.'; $objImage-&gt;width = 120; $objImage-&gt;height = 60; $objRSS-&gt;image = $objImage; //Function retrieving an array of your news from date start to last week $colNews = getYourNews(array('start_date' =&gt; 'Last week')); foreach($colNews as $p) { $objItem = new FeedItem(); $objItem-&gt;title = $p-&gt;title; $objItem-&gt;description = $p-&gt;body; $objItem-&gt;link = $p-&gt;link; $objItem-&gt;date = $p-&gt;date; $objItem-&gt;author = $p-&gt;author; $objItem-&gt;guid = $p-&gt;guid; $objRSS-&gt;addItem($objItem); } $objRSS-&gt;saveFeed('RSS2.0', 'http://link.to/feeds/news.xml', false); }; </code></pre> <p>Quite KISS. :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload