<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>whoismanu.com - Forum &#187; Topic: Modifying IQ2</title>
		<link>http://www.whoismanu.com/forum/topic/modifying-iq2</link>
		<description>Just another bbPress community</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 13:39:13 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.whoismanu.com/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.whoismanu.com/forum/rss/topic/modifying-iq2" rel="self" type="application/rss+xml" />

		<item>
			<title>michaelserisier on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-1296</link>
			<pubDate>Sun, 20 Feb 2011 17:18:51 +0000</pubDate>
			<dc:creator>michaelserisier</dc:creator>
			<guid isPermaLink="false">1296@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;@azie, whoismanu's suggestion to add this line in iq2/classes/IQ2Theme.php fixes the problem:&#60;br /&#62;
add_filter('the_content_feed', array(&#38;amp;$this, 'addDescrToFeed'));&#60;/p&#62;
&#60;p&#62;I've added it right after the &#34;//add description to feeds&#34; comment.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>azie on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-1289</link>
			<pubDate>Fri, 28 Jan 2011 18:40:52 +0000</pubDate>
			<dc:creator>azie</dc:creator>
			<guid isPermaLink="false">1289@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;Hello dawilson!&#60;/p&#62;
&#60;p&#62;Could you please clarify as to what fixed your problem?  I'm having the same issue as well.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dawilson on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-1270</link>
			<pubDate>Wed, 29 Dec 2010 15:47:14 +0000</pubDate>
			<dc:creator>dawilson</dc:creator>
			<guid isPermaLink="false">1270@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;Checking the feed this morning, I see that something I did on Sunday did, finally, correct the problem and I now have both the large image and the description in the &#38;lt;content:encoded&#38;gt; section of each RSS feed item. Thanks for your previous help and apologies for the false alarm this time round (though you may like to see if the change I made needs to be included in future IQ2 releases, I suppose).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dawilson on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-1269</link>
			<pubDate>Mon, 27 Dec 2010 02:13:31 +0000</pubDate>
			<dc:creator>dawilson</dc:creator>
			<guid isPermaLink="false">1269@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;It's time for my annual &#34;Try to fix my RSS feed&#34; day again. I've just updated everything to the latest version (Wordpress 3.0.3, PhotoQ 1.9, IQ2 1.3) hoping that my previous problem would go away but, unfortunately, my post description is still not included in the &#38;lt;content:encoded&#38;gt; section of each post's RSS item. Delving through the PHP for WordPress itself, I have absolutely no idea why this should be. I've made some changes to the IQ2Theme.php file for debug as follows:&#60;/p&#62;
&#60;p&#62;	`//add description to feeds&#60;br /&#62;
	add_filter('the_content_feed', array(&#38;amp;$this, 'addDescrToFeed'));&#60;br /&#62;
	add_filter('the_excerpt_rss', array(&#38;amp;$this, 'addDescrToFeedExcerpt'));`&#60;/p&#62;
&#60;p&#62;  The first add_filter used &#34;the_content_rss&#34; initially but I gather this is now deprecated in favour of &#34;the_content_feed&#34;. Even after changing this, I see no difference (though, frankly, I'm not convinced that FeedBurner's refresh is working properly so I'll check again in an hour or so). I also doubled up the addDescToFeed function so that I can tell exactly which hook is being called:&#60;/p&#62;
&#60;p&#62;	`/**&#60;br /&#62;
	 * Filter hook to add the description to the RSS feeds&#60;br /&#62;
	 * @param $content&#60;br /&#62;
	 * @return unknown_type&#60;br /&#62;
	 */&#60;br /&#62;
	function addDescrToFeed($content){&#60;br /&#62;
		global $post;&#60;br /&#62;
		/* if($this-&#38;gt;_oc-&#38;gt;getValue('feedShowDescr')){ */&#60;br /&#62;
			$content .= &#34;&#38;lt;!-- addDescrToFeed --&#38;gt;&#34;;&#60;br /&#62;
			$content .= get_post_meta($post-&#38;gt;ID, 'photoQDescr', true);&#60;br /&#62;
		/* } */&#60;br /&#62;
    	return $content;&#60;br /&#62;
	}&#60;br /&#62;
	function addDescrToFeedExcerpt($content){&#60;br /&#62;
		global $post;&#60;br /&#62;
		if($this-&#38;gt;_oc-&#38;gt;getValue('feedShowDescr')){&#60;br /&#62;
			$content .= &#34;&#38;lt;!-- addDescrToFeedExcerpt --&#38;gt;&#34;;&#60;br /&#62;
			$content .= get_post_meta($post-&#38;gt;ID, 'photoQDescr', true);&#60;br /&#62;
		}&#60;br /&#62;
    	return $content;&#60;br /&#62;
	}`&#60;/p&#62;
&#60;p&#62;Looking at the XML generated for my feed, I see that the addDescrToFeedExcerpt filter was called to fill in the &#38;lt;description&#38;gt; block but that the addDescToFeed filter was never called when &#38;lt;content:encoded&#38;gt; was set up. The code in WordPress's feed.php which I presume is called to generate this block (isn't &#34;grep&#34; a wonderful debugging tool?) calls:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;return apply_filters(&#38;#39;the_content_feed&#38;#39;, $content, $feed_type);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;so I can't see why our filter isn't being used. Any ideas?&#60;/p&#62;
&#60;p&#62;Any help you can offer on this would be excellent since this is really driving me mad. How difficult can it be to get the description text to appear underneath the full resolution photo in the RSS feed?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dawilson on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-774</link>
			<pubDate>Sun, 07 Feb 2010 06:14:16 +0000</pubDate>
			<dc:creator>dawilson</dc:creator>
			<guid isPermaLink="false">774@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;Thanks for the suggestion. I've made the change and turned off my FeedBurner routing plugin but am having some problems getting hold of the raw feed data. Both IE and Firefox insist on giving me the cached Feedburner version of the feed so I can't see the raw RSS data any more (FeedProxy barfs on the stream formatting that FeedBurner generates). I'll try again tomorrow and see if I can figure out how to completely disable FeedBurner again.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whoismanu on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-765</link>
			<pubDate>Wed, 03 Feb 2010 21:40:41 +0000</pubDate>
			<dc:creator>whoismanu</dc:creator>
			<guid isPermaLink="false">765@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;think i found the culprit. does it work if you replace 'the_content_rss' with 'the_content_feed' ?&#60;/p&#62;
&#60;p&#62;i.e. &#60;code&#62;add_filter(&#38;#39;the_content_feed&#38;#39;, array(&#38;amp;$this, &#38;#39;addDescrToFeed&#38;#39;));&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dawilson on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-758</link>
			<pubDate>Sun, 31 Jan 2010 02:59:11 +0000</pubDate>
			<dc:creator>dawilson</dc:creator>
			<guid isPermaLink="false">758@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;I've finally had some time to go back and look into the RSS feed problem once again. To recap, I want to make sure that the description text I enter for each photo is included in the RSS feed such that the feed shown in Google Reader contains the full sized image and the description text. As things stand today, all I get is the image with no text.&#60;/p&#62;
&#60;p&#62;The problem seems to be that the description text needs to be included in the &#38;lt;content:encoded&#38;gt; section of the feed as well as in the &#38;lt;description&#38;gt; block. I've tracked down where the RSS feed is generated (wp-includes/feed-rss2.php) but this seems OK to me - the &#38;lt;content:encoded&#38;gt; section is built from the_content() if I have RSS excerpting turned off. Looking at the database, however, I see that post_content contains only the image URL (hence explaining why that's all I see in the &#38;lt;content:encoded&#38;gt; section of my RSS feed). The entry does contain class=&#34;photoQcontent photoQImg&#34; and I suspect this is somehow intended to be expanded somewhere. I can't see any reference to this class in the stylesheet, though, so I'm at a loss to figure out what it is doing. In the post_excerpt database field, I see class=&#34;photoQexcerpt photoQImg&#34; and, looking at the raw RSS feed, this appears to be expanded to include the description text somehow.&#60;/p&#62;
&#60;p&#62;Could you offer any advice on what's going on here so that I can make some more progress? Apologies if these are annoying questions - despite 30 years of professional C programming, I'm a newbie at PHP and know nothing at all about the guts of WordPress - but I assumed this would be an easy thing to do when I started looking at the problem!&#60;/p&#62;
&#60;p&#62;Thanks in advance!&#60;/p&#62;
&#60;p&#62;&#38;lt;Edit - looking through IQ2Theme.php, I see:&#60;/p&#62;
&#60;p&#62;		//add description to feeds&#60;br /&#62;
		add_filter('the_content_rss', array(&#38;amp;$this, 'addDescrToFeed'));&#60;br /&#62;
		add_filter('the_excerpt_rss', array(&#38;amp;$this, 'addDescrToFeed'));&#60;/p&#62;
&#60;p&#62;which looks to me as if you are trying to add the description text to both the excerpt and content when generating the RSS feed. Why, I wonder, does the text end up in one but not the other?&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dawilson on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-499</link>
			<pubDate>Tue, 06 Oct 2009 02:46:56 +0000</pubDate>
			<dc:creator>dawilson</dc:creator>
			<guid isPermaLink="false">499@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;It turns out that I was still using the old version of IQ2 - oops! Having switched to the new version, I can now tell the system to include the description in the RSS feed and, when I view the feed in Firefox, the text is there. Unfortunately, however, the feed seen via Google Reader still contains only the large image and no text. I think I'll give up on this one now and move to another problem (which I will post to a new thread). Thanks for all the help on this, though.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whoismanu on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-476</link>
			<pubDate>Tue, 29 Sep 2009 23:02:09 +0000</pubDate>
			<dc:creator>whoismanu</dc:creator>
			<guid isPermaLink="false">476@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;to add the description text you will find a setting called &#34;Syndication Feeds: Show photo description in syndication feeds.&#34; under &#34;Appearance-&#38;gt;iQ2 Settings&#34;. just check the corresponding box and your feeds should show the description (iQ2 1.1 or newer).&#60;/p&#62;
&#60;p&#62;to show the main image instead of the one from the excerpt is i guess rather a wp problem. first, you need to make sure that your wp settings under &#34;reading-&#38;gt;For each article in a feed, show&#34; are set to show the full text.&#60;/p&#62;
&#60;p&#62;however, this whole thing can be more tricky than that because it looks like what you see might be browser specific (i.e. especially in ff these settings are not necessarily taken into account). the following link gives an explanation (i fear however that the hack proposed might be outdated and doesn't apply to the newer wp versions anymore): &#60;a href=&#34;http://www.devilsworkshop.org/force-firefox-to-display-your-full-feeds-wordpress-hack/&#34; rel=&#34;nofollow&#34;&#62;http://www.devilsworkshop.org/force-firefox-to-display-your-full-feeds-wordpress-hack/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;anyway, it might give you some ideas.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dawilson on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-467</link>
			<pubDate>Sun, 27 Sep 2009 02:08:21 +0000</pubDate>
			<dc:creator>dawilson</dc:creator>
			<guid isPermaLink="false">467@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;I had some time on my hands today so updated PhotoQ and IQ2 to the latest levels in an attempt to fix my RSS problem. Unfortunately, it's not clear to me how I do this. I want to maintain the current look of my photoblog where the home page contains only the header, footer and main image but I want the RSS entries to contain the main image + the description text. Can anyone suggest how I achieve this? I've taken a look through the PHP code and played around a bit but I'm a complete newbie to WordPress and only minimally experienced in PHP.&#60;/p&#62;
&#60;p&#62;Thanks in advance for any suggestions!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whoismanu on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-278</link>
			<pubDate>Wed, 22 Jul 2009 23:59:01 +0000</pubDate>
			<dc:creator>whoismanu</dc:creator>
			<guid isPermaLink="false">278@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;the rss stuff (bullet 3) has been added to iQ2 as of version 1.1
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cvanmeer on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-110</link>
			<pubDate>Sat, 09 May 2009 17:52:22 +0000</pubDate>
			<dc:creator>cvanmeer</dc:creator>
			<guid isPermaLink="false">110@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;thanks anyway. I really love IQ2 + PhotoQ!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whoismanu on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-108</link>
			<pubDate>Sat, 09 May 2009 10:26:11 +0000</pubDate>
			<dc:creator>whoismanu</dc:creator>
			<guid isPermaLink="false">108@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;just wanted to write that you have to add this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$withcomments = true;
comments_template();&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;so we both found the same solution ;-). sorry it took me so long to answer.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cvanmeer on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-106</link>
			<pubDate>Thu, 07 May 2009 19:04:36 +0000</pubDate>
			<dc:creator>cvanmeer</dc:creator>
			<guid isPermaLink="false">106@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;I found the answer, replace&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
	$iQ2Theme-&#38;gt;showExif();&#60;/p&#62;
&#60;p&#62;	comments_template();&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;with&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
	$iQ2Theme-&#38;gt;showExif();&#60;br /&#62;
	$withcomments = 1;&#60;br /&#62;
	comments_template();&#60;br /&#62;
?&#38;gt;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cvanmeer on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-102</link>
			<pubDate>Sat, 02 May 2009 21:20:43 +0000</pubDate>
			<dc:creator>cvanmeer</dc:creator>
			<guid isPermaLink="false">102@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;quote: 1. thanks to the wordpress template hierarchy you can have this by simply deleting the index.php file from the iq2 folder and by renaming the single.php file to index.php. wordpress now loads the same template (the one that is used for single posts in the original iq2 theme) for both index and single.&#60;/p&#62;
&#60;p&#62;Thanks, I was having the same problem. Only...on the index.php page I don't have the option for users to leave comments. All other pages include that option. Is it posible to modify the index page so that users can leave comments from right there? I only copied single.php to index.php (and added some text in the top to welcome the users)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whoismanu on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-46</link>
			<pubDate>Mon, 06 Apr 2009 19:06:42 +0000</pubDate>
			<dc:creator>whoismanu</dc:creator>
			<guid isPermaLink="false">46@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;2. once you adapted the template page to you liking you can add the following code at the top of the file (see how this is done in the archives.php)&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Template Name: Galleries
*/
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you can then create a new page in the wordpress admin section and select the name of the template to be used, &#34;Galleries&#34; in this example, under &#34;Page Template&#34;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dawilson on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-44</link>
			<pubDate>Sun, 05 Apr 2009 22:38:24 +0000</pubDate>
			<dc:creator>dawilson</dc:creator>
			<guid isPermaLink="false">44@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;Thanks - that's helpful. What I will do instead is edit the index.php since I don't want this page to look exactly like the single.php layout. I guess I should have thought of that already!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whoismanu on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-43</link>
			<pubDate>Sun, 05 Apr 2009 19:36:40 +0000</pubDate>
			<dc:creator>whoismanu</dc:creator>
			<guid isPermaLink="false">43@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;i'll already answer 1. for you. will come back for the rest later.&#60;/p&#62;
&#60;p&#62;1. thanks to the &#60;a href=&#34;http://codex.wordpress.org/Template_Hierarchy&#34;&#62;wordpress template hierarchy&#60;/a&#62; you can have this by simply deleting the index.php file from the iq2 folder and by renaming the single.php file to index.php. wordpress now loads the same template (the one that is used for single posts in the original iq2 theme) for both index and single.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dawilson on "Modifying IQ2"</title>
			<link>http://www.whoismanu.com/forum/topic/modifying-iq2#post-38</link>
			<pubDate>Sat, 04 Apr 2009 16:21:23 +0000</pubDate>
			<dc:creator>dawilson</dc:creator>
			<guid isPermaLink="false">38@http://www.whoismanu.com/forum/</guid>
			<description>&#60;p&#62;I'm using IQ2 on my photoblog and have made some CSS and template modifications successfully already but there are a few things I would like to do that I have not figured out yet. These may be WordPress rather than IQ2/PhotoQ questions (I'm new to WordPress) but any hints would be greatly appreciated.&#60;/p&#62;
&#60;p&#62;1. I would love to include the next and previous thumbnails on the home page (i.e. the single photo you see initially. The thumbnails are visible when this is clicked but not before) or, at least, links to allow navigation without having to click the main image first.&#60;/p&#62;
&#60;p&#62;2. I would like to be able to create a new page based on the template for the main (index) page, i.e. a page without the right sidebar, so that I can embed my existing flash galleries into pages on the IQ2 site. When I try to create a new page, however, I'm not given the choice of any template that excludes the sidebar.&#60;/p&#62;
&#60;p&#62;3. The RSS feed for each entry includes only the image. I would like to be able to include the image and my description text in each RSS entry. How can this be done?&#60;/p&#62;
&#60;p&#62;Thanks in advance for any help you can offer.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

