<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3808846106371591937.post5095796821724998994..comments</id><updated>2011-06-29T23:05:29.956+10:00</updated><category term='VBScript'/><category term='Keyword Research'/><category term='VB.NET'/><category term='PhpMyadmin'/><category term='Programming Tips'/><category term='Webmaster Tools'/><category term='Administration'/><category term='Date calculation'/><category term='Web Development'/><category term='RSS'/><category term='Browser Compatibility'/><category term='IRibbonExtensibility'/><category term='Outlook Ribbon'/><category term='Search Engine Optimisation'/><category term='.htaccess'/><category term='Apache'/><category term='Forms'/><category term='Do Follow Tools'/><category term='JScript'/><category term='News'/><category term='Php RSS 2 Writer'/><category term='Developer Tools'/><category term='MySQL'/><category term='CSS'/><category term='Javascript'/><category term='PhpBB3'/><category term='SPD'/><category term='Date Difference'/><category term='SharePoint 2010'/><category term='SDK'/><category term='SharePoint Integration'/><category term='PEAR'/><category term='VBA'/><category term='References'/><category term='InfoPath Integration'/><category term='Windows Phone 7'/><category term='User Acceptance'/><category term='HTML'/><category term='SharePoint Designer'/><category term='Outlook 2007'/><category term='Microsoft Outlook'/><category term='String Manipulation'/><category term='Free Php Scripts'/><category term='Development Resources'/><category term='Php Sessions'/><category term='SEO Tips'/><category term='InfoPath'/><category term='Performance Tips'/><category term='Free Tools'/><category term='CDATA'/><category term='Php FeedWriter'/><category term='XML Reader'/><category term='SharePoint Development'/><category term='Blog Tips'/><category term='Security'/><category term='RSS Writer'/><category term='Programming'/><category term='Internet Marketing'/><category term='Web Design'/><category term='Xml'/><category term='Feed Generator'/><category term='COM Addin'/><category term='Resources'/><category term='XMLWriter'/><category term='Macro'/><category term='Query String Manipulation'/><category term='Web Parts'/><category term='SharePoint Administration'/><category term='Web Marketing'/><category term='RSS Generator'/><category term='Addin'/><category term='System Implementation'/><category term='Breadcrumb'/><category term='Troubleshooting'/><category term='WordPress'/><category term='SharePoint'/><category term='SharePoint Marketing'/><category term='VB6'/><category term='Workflow'/><category term='Java'/><category term='Bulk Submit'/><category term='DIY SEO'/><category term='C#'/><category term='Website Performance'/><category term='SEO'/><category term='Database'/><category term='Learning Resources'/><category term='Improve website performance'/><category term='Date Time'/><category term='mod_rewrite'/><category term='Php'/><category term='Disaster Recovery'/><category term='Privacy Policy'/><category term='web development blog'/><category term='Tips and Tricks'/><category term='Key Phrase Targeting'/><category term='Utilities'/><title type='text'>Comments on Code-Tips.com - Web Development, Programming, SEO: Php RSS2Writer (v2.1) - Generate RSS 2.0 Feed - Us...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.code-tips.com/feeds/5095796821724998994/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default?start-index=26&amp;max-results=25'/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-5123012809377434721</id><published>2011-06-29T23:05:29.956+10:00</published><updated>2011-06-29T23:05:29.956+10:00</updated><title type='text'>Hi,

Version 3.0 (beta) has been released.  This n...</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;Version 3.0 (beta) has been released.  This now includes the ability to output Atom 1.0, RSS 2.0, RSS 1.0 (RDF), RSS 0.92 and RSS 0.91.  &lt;br /&gt;&lt;br /&gt;The main class file has also been renamed to FeedWriter as the solution is no longer limited to only RSS 2.0.  The solution as a whole is now Php FeedWriter, which starts at version 3.0 (beta) and is the next major update to the RSS2Writer class.  &lt;br /&gt;&lt;br /&gt;For more details, please see my post: &lt;a href="http://www.code-tips.com/2011/06/php-feedwriter-released-version-30-beta.html" rel="nofollow"&gt;Php FeedWriter 3.0 Beta Release&lt;/a&gt;, or the &lt;a href="http://phpfeedwriter.webmasterhub.net/" rel="nofollow"&gt;Php FeedWriter Website&lt;/a&gt;.  Version 3.0 (beta) is available from the website.&lt;br /&gt;&lt;br /&gt;The website also includes documentation for each component of the FeedWriter and new FeedConstruct class.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5123012809377434721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5123012809377434721'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1309352729956#c5123012809377434721' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-5517762094849832806</id><published>2011-04-24T12:52:00.514+10:00</published><updated>2011-04-24T12:52:00.514+10:00</updated><title type='text'>Just a quick update..

The v3 update is close to c...</title><content type='html'>Just a quick update..&lt;br /&gt;&lt;br /&gt;The v3 update is close to completion, which has involved almost a complete work-over.  A beta release will be first made available for others to try, which is likely to contain glitches.  I am also working on documentation that will accompany the new version.&lt;br /&gt;&lt;br /&gt;It currently outputs RSS 0.91, RSS 0.92, RSS 2.0 and a not quite valid Atom 1.0 format (currently working on).  RSS 1.0 (RDF) output is also supported, but not yet functioning properly.&lt;br /&gt;&lt;br /&gt;The construct of each feed format is configured in a new class, which allows each element, including validation constraints and attributes to be added.  Functions provided by the class allow each feed construct to be traversed in a tree/hierarchical manner.  This is used to both validate and output a feed in a particular format using generic code.&lt;br /&gt;&lt;br /&gt;Looking forward to it&amp;#39;s completion..</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5517762094849832806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5517762094849832806'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1303613520514#c5517762094849832806' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-1146886125312025334</id><published>2011-04-11T09:56:15.132+10:00</published><updated>2011-04-11T09:56:15.132+10:00</updated><title type='text'>I was just thinking about searching for url&amp;#39;s ...</title><content type='html'>I was just thinking about searching for url&amp;#39;s that were missing the domain name. E.g. images/mypicture.jpg. But, you&amp;#39;re right, it could get difficult, and I&amp;#39;m not sure if it&amp;#39;s really needed in most cases.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/1146886125312025334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/1146886125312025334'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1302479775132#c1146886125312025334' title=''/><author><name>jjames</name><uri>http://www.blogger.com/profile/07358200069174086791</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-808322109'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-5381699553720931571</id><published>2011-04-09T20:06:16.045+10:00</published><updated>2011-04-09T20:06:16.045+10:00</updated><title type='text'>Ok, the class update is coming along now...

So fa...</title><content type='html'>Ok, the class update is coming along now...&lt;br /&gt;&lt;br /&gt;So far, I have incorporated the following into the class:&lt;br /&gt;&lt;br /&gt;- New class name&lt;br /&gt;- Add functionality to include media files in an enclosure element.&lt;br /&gt;- Fixed content type issues (@jjames)&lt;br /&gt;- Added option stylesheet integration (@Jack)&lt;br /&gt;- Included character encoding changes (@Muhammad)&lt;br /&gt;&lt;br /&gt;I am part way through RSS 1.0, and Atom 1.0 compatible XML output formats, which I will completed once all other updates have been incorporated, to allow code re-use.&lt;br /&gt;&lt;br /&gt;I hope to publish a beta version soon for others to try.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@Jack, I can&amp;#39;t see an example or documentation anywhere for an RSS feed with JavaScript integrated.  There are plenty of resources for rending RSS feeds using JavaScript, but not to include JS in a feed.&lt;br /&gt;&lt;br /&gt;Do you (or anyone else), know if this is included in the RSS 2.0, or Atom schemas?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Daniel</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5381699553720931571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5381699553720931571'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1302343576045#c5381699553720931571' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-7093331922817978826</id><published>2011-04-09T14:58:36.329+10:00</published><updated>2011-04-09T14:58:36.329+10:00</updated><title type='text'>@jjames, do you mean absolute by including the dom...</title><content type='html'>@jjames, do you mean absolute by including the domain name before urls without it, or to convert relative paths (eg. &amp;quot;../page1.php&amp;quot;, &amp;quot;page2.php&amp;quot;, ../../somefolder/page3.php ) to absolute.&lt;br /&gt;&lt;br /&gt;The issue that I see is that it would be difficult to programmatically determine the path back to the root of the site, which would be required in order to build the absolute path.  Additional contextual information would need to be provided at some point when populating the feed to allow the class to update paths to absolute.&lt;br /&gt;&lt;br /&gt;On the other hand, changing only absolute paths that are missing the domain component to include the domain would be easier to implement, and should have more consistent results.&lt;br /&gt;&lt;br /&gt;I would probably implement this by finding links in the feed description with a href attribute that begins with &amp;quot;/&amp;quot; and including the domain and protocol before the existing address.&lt;br /&gt;&lt;br /&gt;What do you think?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/7093331922817978826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/7093331922817978826'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1302325116329#c7093331922817978826' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-6706736698235292495</id><published>2011-04-08T23:00:08.786+10:00</published><updated>2011-04-08T23:00:08.786+10:00</updated><title type='text'>I&amp;#39;ve noticed several of my descriptions, that ...</title><content type='html'>I&amp;#39;ve noticed several of my descriptions, that are being pulled from a database, include relative href and src links. If possible, it would be pretty cool if the class could check for those links and change them to absolute.&lt;br /&gt;&lt;br /&gt;Also, to expand on what Muhammad mentioned. It would be nice to not only check for trademarks, copyrights and registrations, but also smart quotes, elipsis, em and en dashes, one quarter, one half, three quarters and ampersands.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/6706736698235292495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/6706736698235292495'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1302267608786#c6706736698235292495' title=''/><author><name>jjames</name><uri>http://www.blogger.com/profile/07358200069174086791</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-808322109'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-453943266314817273</id><published>2011-04-08T18:57:54.550+10:00</published><updated>2011-04-08T18:57:54.550+10:00</updated><title type='text'>Due to the recent increase in use of the RSS2Write...</title><content type='html'>Due to the recent increase in use of the RSS2Writer class, I am getting the next major update underway.  I propose that the solution and supporting documentation also be moved to a new dedicated site, which will provide areas for the development community to discuss aspects of the class, suggest ideas for future development and any usage issues.  The class will also remain available from this blog.&lt;br /&gt;&lt;br /&gt;I intend for the class (including future versions) to remain a free resource for Php web developers, as long as I continue to receive support from the community.  A reasonable amount of my time has already been spent developing and supporting the class, which I hope to continue as a community effort.  The time I have spent on this class (and my blogs) is my own time (out of work hours).  Any help from others to speed up the process of improving the class would be greatly appreciated.  Thank you for those who have contributed so far.&lt;br /&gt;&lt;br /&gt;I will consolidate the suggestions for improvement made on this post for inclusion in the update, and will attempt to include suggestions posted in the near future as well.  I will include comments in the code with the name of someone who has provided input where possible, unless specifically asked not to be included.&lt;br /&gt;&lt;br /&gt;One of the enhancements that I personally intend to include is the ability to output the feed data in more than just an RSS 2.0 compatible format.  This will also result in the newer version of the class having a more general name such as FeedWriter, or similar.  Previous versions of the class will remain available.&lt;br /&gt;&lt;br /&gt;In the new version the getXML() function will probably remain, but it’s functionality will be moved to 3 additional functions such as getRSS1(), getRSS2() and getAtom().  Each method will output the feed data in the corresponding format.  I will attempt to make functionality in the new version backwards compatible (same function names and core functionality), apart from the new class name.&lt;br /&gt;&lt;br /&gt;Please let me know (soon) if you have any suggestions or concerns.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/453943266314817273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/453943266314817273'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1302253074550#c453943266314817273' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-4930747657288208283</id><published>2011-04-07T17:44:34.059+10:00</published><updated>2011-04-07T17:44:34.059+10:00</updated><title type='text'>Hi Daniel,
First of all congrats on writing a good...</title><content type='html'>Hi Daniel,&lt;br /&gt;First of all congrats on writing a good class of RSS.&lt;br /&gt;&lt;br /&gt;I would like to suggest an addition to the class, please add it in your future versions if helpful.&lt;br /&gt;&lt;br /&gt;ok, recently i was developing a website for my client and i used your class for generating dynamic RSS feeds. The feed data is based on recent posts by users, so their is less control over the feed data. i.e. &lt;br /&gt;&lt;br /&gt;ISO 8859-1 Symbols, ISO 8859-1 Characters are directly pasted by users and not encoded. characters like copyright or registered trademark symbols etc&lt;br /&gt;&lt;br /&gt;the getXML function generates the feed but it ends up in error as feed readers generate a parse error.&lt;br /&gt;&lt;br /&gt;i have updated 2 lines in get XML, previously updated by abasit83.&lt;br /&gt;&lt;br /&gt;line 310: $writer-&amp;gt;writeCData($item[&amp;#39;title&amp;#39;]);&lt;br /&gt;to $writer-&amp;gt;writeCData(htmlentities($item[&amp;#39;title&amp;#39;]));&lt;br /&gt;&lt;br /&gt;line 349&amp;quot; $writer-&amp;gt;writeCData($item[&amp;#39;description&amp;#39;]);&lt;br /&gt;to $writer-&amp;gt;writeCData(htmlentities($item[&amp;#39;description&amp;#39;]));&lt;br /&gt;&lt;br /&gt;This will encode the characters to entity name.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Muhammad Khalid.&lt;br /&gt;PHP Software Engineer.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4930747657288208283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4930747657288208283'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1302162274059#c4930747657288208283' title=''/><author><name>Muhammad</name><uri>http://www.blogger.com/profile/01889070820007404907</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2722608'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-3325038554819616848</id><published>2011-04-07T01:51:24.989+10:00</published><updated>2011-04-07T01:51:24.989+10:00</updated><title type='text'>In order to get channelImage() to work, I had to c...</title><content type='html'>In order to get channelImage() to work, I had to change $rss2_writer, in the example to $rss. It doesn&amp;#39;t seem like the width and height work though.&lt;br /&gt;&lt;br /&gt;Now I&amp;#39;m trying to figure out how to associate a image with each item. It sounds like it requires the enclosure tag.&lt;br /&gt;&lt;br /&gt;Also, feed validator keeps telling me &amp;quot;Feeds should not be served with the &amp;quot;text/html&amp;quot; media type&amp;quot;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/3325038554819616848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/3325038554819616848'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1302105084989#c3325038554819616848' title=''/><author><name>jjames</name><uri>http://www.blogger.com/profile/07358200069174086791</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-808322109'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-5969326338117464735</id><published>2011-04-03T15:15:38.683+10:00</published><updated>2011-04-03T15:15:38.683+10:00</updated><title type='text'>ok I have resolved for the moment inserting image ...</title><content type='html'>ok I have resolved for the moment inserting image in  the description/body of the feed item as html.&lt;br /&gt;However when you have time for complete your feed generator can you build a function to insert css:&lt;br /&gt; &lt;br /&gt;http://www.petefreitag.com/item/208.cfm&lt;br /&gt; and i don&amp;#39;t know also if is possible add also javascript code in xml feed?&lt;br /&gt;thanks bye</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5969326338117464735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5969326338117464735'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1301807738683#c5969326338117464735' title=''/><author><name>Jack</name><uri>http://www.blogger.com/profile/14292082746685016103</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-796678053'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-6810744428824371775</id><published>2011-03-29T21:01:18.738+11:00</published><updated>2011-03-29T21:01:18.738+11:00</updated><title type='text'>@Jack, I will have a look at the class in the next...</title><content type='html'>@Jack, I will have a look at the class in the next week or so.  I have been struggling to find time lately due to my current workload.&lt;br /&gt;&lt;br /&gt;Just to clarify, you would like to have the ability to associate an image with an item in the feed instead of the channel, and with the three optional elements for the url, title and description.&lt;br /&gt;&lt;br /&gt;I had a quick look at the &lt;a href="http://feed2.w3.org/docs/rss2.html" rel="nofollow"&gt;RSS 2.0 Specification on W3C&lt;/a&gt;, and also a thread &lt;a href="http://stackoverflow.com/questions/705224/rss-2-0-image-in-an-item" rel="nofollow"&gt;here&lt;/a&gt;, which talks about including images in feed items.&lt;br /&gt;&lt;br /&gt;The image element is a sub-element of the channel element only.  It looks like an image needs to be included using the &amp;lt;enclosure&amp;gt; element.  The feed viewers that I use all list attached media at the bottom of each item, which are included using the enclosure element.&lt;br /&gt;&lt;br /&gt;Alternatively, the image can be included in the description/body of the feed item as html.  Using this approach, functionality could be added to the class to insert image html into the feed item description, which can displayed in the top left, but it would be under the title.  &lt;br /&gt;&lt;br /&gt;Would you find this useful as an alternative to the enclosure, or would you prefer to use the enclosure method (which should be incorporated into the class regardless)?&lt;br /&gt;&lt;br /&gt;Are you aware of other methods of associating an image with a feed item?&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/6810744428824371775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/6810744428824371775'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1301392878738#c6810744428824371775' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-1102843040346587394</id><published>2011-03-25T07:49:05.615+11:00</published><updated>2011-03-25T07:49:05.615+11:00</updated><title type='text'>Hey DanielS,

I got the code working. Actually the...</title><content type='html'>Hey DanielS,&lt;br /&gt;&lt;br /&gt;I got the code working. Actually there was no issue with code. Every browser requires Rss reader program. I installed it in chrome and then script was working fine. About IE8 i don&amp;#39;t remember exactly but i changed some settings in IE8 and script is is showing correct output.&lt;br /&gt;&lt;br /&gt;Thanks very much for the script.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/1102843040346587394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/1102843040346587394'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1300999745615#c1102843040346587394' title=''/><author><name>Ketav</name><uri>http://www.blogger.com/profile/17843731781102571364</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1096470602'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-1938931367643539708</id><published>2011-03-22T17:50:08.722+11:00</published><updated>2011-03-22T17:50:08.722+11:00</updated><title type='text'>Hi i have found that is possible add an image inse...</title><content type='html'>Hi i have found that is possible add an image inserting in description item&lt;br /&gt;However i wait your answer&lt;br /&gt;Also i want ask you if is possible insert following schemas in items:&lt;br /&gt;&lt;br /&gt;image    title&lt;br /&gt;         url&lt;br /&gt;         description&lt;br /&gt;&lt;br /&gt;with image inserted at left of title &lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/1938931367643539708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/1938931367643539708'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1300776608722#c1938931367643539708' title=''/><author><name>Jack</name><uri>http://www.blogger.com/profile/14292082746685016103</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-796678053'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-4345359457719220940</id><published>2011-03-22T17:07:00.777+11:00</published><updated>2011-03-22T17:07:00.777+11:00</updated><title type='text'>hello thanks for the script i want ask it&amp;#39;s po...</title><content type='html'>hello thanks for the script i want ask it&amp;#39;s possible add also an image in  Item instead of channel &lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4345359457719220940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4345359457719220940'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1300774020777#c4345359457719220940' title=''/><author><name>Jack</name><uri>http://www.blogger.com/profile/14292082746685016103</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-796678053'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-6895302317901809447</id><published>2011-03-19T13:34:35.524+11:00</published><updated>2011-03-19T13:34:35.524+11:00</updated><title type='text'>@Boris, 

Once you have the feed data from the dat...</title><content type='html'>@Boris, &lt;br /&gt;&lt;br /&gt;Once you have the feed data from the database, you loop through the result set and call the addItem() function to add a feed item for each row in the database query result.  Use the data from the current row (loop iteration) in the result set to populate the feed item.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/6895302317901809447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/6895302317901809447'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1300502075524#c6895302317901809447' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-2626943485939437428</id><published>2011-03-19T13:22:50.392+11:00</published><updated>2011-03-19T13:22:50.392+11:00</updated><title type='text'>@drewread, associating an image to the feed was in...</title><content type='html'>@drewread, associating an image to the feed was intended to be incorporated using the channelImage() function.  Although included, it was wasn&amp;#39;t a core feature of the original implementation, and has no online documentation as a result.&lt;br /&gt;&lt;br /&gt;I will do some tests around image association myself and include any changes in the next version.  I will also include some documentation around the function once tested and implemented properly.&lt;br /&gt;&lt;br /&gt;Have you had any success since posting your comment?&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/2626943485939437428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/2626943485939437428'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1300501370392#c2626943485939437428' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-4348165955768003287</id><published>2011-03-19T13:11:13.609+11:00</published><updated>2011-03-19T13:11:13.609+11:00</updated><title type='text'>Hi Ketav,

I haven&amp;#39;t tested the solution using...</title><content type='html'>Hi Ketav,&lt;br /&gt;&lt;br /&gt;I haven&amp;#39;t tested the solution using Chrome, but haven&amp;#39;t had the issues you describe with IE(7). &lt;br /&gt;&lt;br /&gt;Try enabling CDATA (final parameter when instantiating the RSS2Writer object), and if you are adding your own content to the feed ensure that it is encoded properly.  &lt;br /&gt;&lt;br /&gt;Please let me know how you go, and if it doesn&amp;#39;t help, I will try to replicate the issue myself and resolve in the next update. The class was written a while ago now, and needs a bit of love.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4348165955768003287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4348165955768003287'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1300500673609#c4348165955768003287' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-4524184376592538961</id><published>2011-03-18T07:32:10.856+11:00</published><updated>2011-03-18T07:32:10.856+11:00</updated><title type='text'>Hey DanielS,

I am new to RSS. I am creating rss f...</title><content type='html'>Hey DanielS,&lt;br /&gt;&lt;br /&gt;I am new to RSS. I am creating rss for books. I simply copied both your files and put it in my development server. Code works fine for Firefox. But it doesn&amp;#39;t work for IE and chrome. (IE simply doesnt show up anything and chrome shows only text data not formatted.)&lt;br /&gt;&lt;br /&gt;I tried to put  header(&amp;quot;Content-type: text/xml&amp;quot;); but it still doesn&amp;#39;t work on either one of the browser. Am i doing something wrong?&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4524184376592538961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4524184376592538961'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1300393930856#c4524184376592538961' title=''/><author><name>Ketav</name><uri>http://www.blogger.com/profile/17843731781102571364</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1096470602'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-1669600455127418348</id><published>2011-03-02T02:45:49.259+11:00</published><updated>2011-03-02T02:45:49.259+11:00</updated><title type='text'>Hello,

I am attempting to use the enclosure eleme...</title><content type='html'>Hello,&lt;br /&gt;&lt;br /&gt;I am attempting to use the enclosure element to add an image to my feed. This does not seem to be working or have any real documentation. Has this been implemented?&lt;br /&gt;&lt;br /&gt;Thank you.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/1669600455127418348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/1669600455127418348'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1298994349259#c1669600455127418348' title=''/><author><name>drewread</name><uri>http://www.blogger.com/profile/17405663243138655339</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-458945387'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-984171479914051681</id><published>2011-01-28T21:25:49.716+11:00</published><updated>2011-01-28T21:25:49.716+11:00</updated><title type='text'>Hi Ladislav, you can include html formatting using...</title><content type='html'>Hi Ladislav, you can include html formatting using html encoded characters. &lt;br /&gt;&lt;br /&gt;For example: &lt;br /&gt;&amp;lt;img src=&amp;quot;http://image_url/&amp;quot;&amp;gt;  &lt;br /&gt;&lt;br /&gt;would need to be be included as: &lt;br /&gt;&amp;amp;lt;img src=&amp;quot;http://image_url/&amp;quot;&amp;amp;gt; &lt;br /&gt;&lt;br /&gt;When viewing the feed, the html will be rendered as a web page would.  To include html markup as text in the feed item, CDATA should be enabled as well as encoding special characters.&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/984171479914051681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/984171479914051681'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1296210349716#c984171479914051681' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-573297596101582666</id><published>2011-01-28T07:41:59.011+11:00</published><updated>2011-01-28T07:41:59.011+11:00</updated><title type='text'>How to add html element (as b,i,img,etc.) to the i...</title><content type='html'>How to add html element (as b,i,img,etc.) to the item?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/573297596101582666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/573297596101582666'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1296160919011#c573297596101582666' title=''/><author><name>Ladislav</name><uri>http://www.blogger.com/profile/13061685150800819700</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-617914286'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-4524403236278350397</id><published>2010-12-14T21:12:47.846+11:00</published><updated>2010-12-14T21:12:47.846+11:00</updated><title type='text'>Hi Asce,

I&amp;#39;m not familiar myself with CMS Mad...</title><content type='html'>Hi Asce,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not familiar myself with CMS Made Simple or Coppermine Photo Gallery, but it sounds like the templates would be for the layout of the interface only.&lt;br /&gt;&lt;br /&gt;You would probably need to include create a new page that serves RSS Feed data that uses the methods/functions of the application you are using to obtain the data to be added to the feed.  You may be able to incorporate into an existing page, but you would need to allow the page to render only the RSS XML containing the content instead of the html layout.  This would probably be done using query string parameters, but creating a new script/page for the RSS feed would take a similar amount of time and effort and has less risk of impacting on the working application.&lt;br /&gt;&lt;br /&gt;If you examine the scripts called by the application to display content, you should be able to render the same content as an RSS feed using the PhpRSS2Writer class.&lt;br /&gt;&lt;br /&gt;Please let me know if you need further explanation.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4524403236278350397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/4524403236278350397'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1292321567846#c4524403236278350397' title=''/><author><name>DanielS</name><uri>http://www.blogger.com/profile/07274977002584498975</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1932580859'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-352006472545665839</id><published>2010-11-11T21:33:38.000+11:00</published><updated>2010-11-11T21:33:38.000+11:00</updated><title type='text'>Thanx Daniel for the positive comments..

:-)</title><content type='html'>Thanx Daniel for the positive comments..&lt;br /&gt;&lt;br /&gt;:-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/352006472545665839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/352006472545665839'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1289471618000#c352006472545665839' title=''/><author><name>abasit83</name><uri>http://www.blogger.com/profile/14387241148219620239</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_PUKhNvbOypI/S1SFDSwwKEI/AAAAAAAAAAM/XpApPFRmf5Q/S220/PA280240.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1822519186'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-7107769655593861740</id><published>2010-10-29T01:21:29.133+11:00</published><updated>2010-10-29T01:21:29.133+11:00</updated><title type='text'>Hi

My name is Boris, I want to use this RSS2Writt...</title><content type='html'>Hi&lt;br /&gt;&lt;br /&gt;My name is Boris, I want to use this RSS2Writter class, but I have to use values from a database, so Can u help me how to do that?&lt;br /&gt;Thanks again&lt;br /&gt;&lt;br /&gt;Regards</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/7107769655593861740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/7107769655593861740'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1288275689133#c7107769655593861740' title=''/><author><name>Boris</name><uri>http://www.blogger.com/profile/17095008261680213105</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-673419396'/></entry><entry><id>tag:blogger.com,1999:blog-3808846106371591937.post-5188700741497509526</id><published>2010-10-16T09:31:46.773+11:00</published><updated>2010-10-16T09:31:46.773+11:00</updated><title type='text'>Hi Daniel. I use CMS Made Simple and Coppermine Ph...</title><content type='html'>Hi Daniel. I use CMS Made Simple and Coppermine Photo Gallery. Shall I put the code from sampleController.php into for example my templates and call RSS2Writer.php from there?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5188700741497509526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3808846106371591937/5095796821724998994/comments/default/5188700741497509526'/><link rel='alternate' type='text/html' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html?showComment=1287181906773#c5188700741497509526' title=''/><author><name>asce</name><uri>http://www.blogger.com/profile/13289717729563952864</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.code-tips.com/2010/01/php-rss2writer-v20-generate-rss-20-feed.html' ref='tag:blogger.com,1999:blog-3808846106371591937.post-5095796821724998994' source='http://www.blogger.com/feeds/3808846106371591937/posts/default/5095796821724998994' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2092178563'/></entry></feed>
