<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: INAP and feed problems</title>
	<atom:link href="http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/feed" rel="self" type="application/rss+xml" />
	<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html</link>
	<description>Anthology of Ideas is an archive of thoughts and form.</description>
	<lastBuildDate>Tue, 22 May 2012 08:32:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: uberdose</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7780</link>
		<dc:creator>uberdose</dc:creator>
		<pubDate>Mon, 20 Aug 2007 16:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7780</guid>
		<description>Yes, INAP is now working, but not every feature from adman. I&#039;m debugging them both.</description>
		<content:encoded><![CDATA[<p>Yes, INAP is now working, but not every feature from adman. I&#8217;m debugging them both.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7763</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Mon, 20 Aug 2007 07:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7763</guid>
		<description>&lt;blockquote&gt; Btw. thanks for your suggestion!&lt;/blockquote&gt;

At least something worked. 

I assume that the ad is displayed correctly if you deactivate INAP or turn off Simple Posts?

Theoretically, unless you are using a different version of Adman than I tested (1.6.1) INAP and Adman should never interact. INAP is almost always the very first plugin to modify the content and then all other plugins run. The other plugins shouldn&#039;t behave any differently after INAP.

As a test, add &lt;code&gt;echo $content;&lt;/code&gt; just after &lt;code&gt;function the_content($content = &#039;&#039;) {&lt;/code&gt; and before &lt;code&gt;return $content;&lt;/code&gt;. They should be different, and the actual post should be pretty close to the second one.</description>
		<content:encoded><![CDATA[<blockquote><p> Btw. thanks for your suggestion!</p></blockquote>
<p>At least something worked. </p>
<p>I assume that the ad is displayed correctly if you deactivate INAP or turn off Simple Posts?</p>
<p>Theoretically, unless you are using a different version of Adman than I tested (1.6.1) INAP and Adman should never interact. INAP is almost always the very first plugin to modify the content and then all other plugins run. The other plugins shouldn&#8217;t behave any differently after INAP.</p>
<p>As a test, add <span class="inline-code">echo $content;</span> just after <span class="inline-code">function the_content($content = &#039;&#039;) {</span> and before <span class="inline-code">return $content;</span>. They should be different, and the actual post should be pretty close to the second one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7762</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Mon, 20 Aug 2007 07:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7762</guid>
		<description>Okay so the JavaScript is working now?</description>
		<content:encoded><![CDATA[<p>Okay so the JavaScript is working now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberdose</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7760</link>
		<dc:creator>uberdose</dc:creator>
		<pubDate>Mon, 20 Aug 2007 07:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7760</guid>
		<description>Btw. thanks for your suggestion!</description>
		<content:encoded><![CDATA[<p>Btw. thanks for your suggestion!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberdose</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7759</link>
		<dc:creator>uberdose</dc:creator>
		<pubDate>Mon, 20 Aug 2007 07:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7759</guid>
		<description>Ok, some clarification: Your suggested patch did work in that it now shows the inline ads (the ones that would appear on single pages) when clicking a post open on the homepage. What is still not shown is the homepage ad, which normally gets shown on the first post displayed on the homepage. As I said before, I can&#039;t even change the posts content when inserting/replacing the content unconditionally.</description>
		<content:encoded><![CDATA[<p>Ok, some clarification: Your suggested patch did work in that it now shows the inline ads (the ones that would appear on single pages) when clicking a post open on the homepage. What is still not shown is the homepage ad, which normally gets shown on the first post displayed on the homepage. As I said before, I can&#8217;t even change the posts content when inserting/replacing the content unconditionally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberdose</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7756</link>
		<dc:creator>uberdose</dc:creator>
		<pubDate>Mon, 20 Aug 2007 06:49:26 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7756</guid>
		<description>I have detected the culprit in inap-misc.php:
require_once(&#039;../../../../wp-config.php&#039;);

I have most plugins folders symlinked to another parent directory which works fine most of the time. Maybe other people have the same problem ...

Might be better to omit the @ so a clear error message is output when this happens.</description>
		<content:encoded><![CDATA[<p>I have detected the culprit in inap-misc.php:<br />
require_once(&#8216;../../../../wp-config.php&#8217;);</p>
<p>I have most plugins folders symlinked to another parent directory which works fine most of the time. Maybe other people have the same problem &#8230;</p>
<p>Might be better to omit the @ so a clear error message is output when this happens.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberdose</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7754</link>
		<dc:creator>uberdose</dc:creator>
		<pubDate>Mon, 20 Aug 2007 06:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7754</guid>
		<description>Hi Aaron, your suggestion does not work. Even if I have an unconditional the_content filter I can&#039;t get anything into the posts displayed on the homepage :(

	function the_content($content = &#039;&#039;) {
		$content = &quot;adman $content&quot;;
		return $content;
        }

I will look at why the PHP JS doesn&#039;t get executed proper ...</description>
		<content:encoded><![CDATA[<p>Hi Aaron, your suggestion does not work. Even if I have an unconditional the_content filter I can&#8217;t get anything into the posts displayed on the homepage <img src='http://anthologyoi.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>	function the_content($content = &#8221;) {<br />
		$content = &#8220;adman $content&#8221;;<br />
		return $content;<br />
        }</p>
<p>I will look at why the PHP JS doesn&#8217;t get executed proper &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7715</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Sun, 19 Aug 2007 16:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7715</guid>
		<description>I downloaded the plugin and ran some tests, the plugin runs perfectly according to the way it is programmed with INAP. You may want to make sure you have the latest version of Adman.


As an aside, if you show ads inside of your posts I assume you will want posts that are loaded inline to show the ads.

If so,

OPEN: adman.php
FIND:&lt;code&gt; if (is_single()) {&lt;/code&gt;
REPLACE WITH: &lt;code&gt;if (is_single() &#124;&#124; (class_exists(&#039;INAP_Post&#039;) &amp;&amp; $_REQUEST[&#039;type&#039;] == &quot;content&quot;)) {&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I downloaded the plugin and ran some tests, the plugin runs perfectly according to the way it is programmed with INAP. You may want to make sure you have the latest version of Adman.</p>
<p>As an aside, if you show ads inside of your posts I assume you will want posts that are loaded inline to show the ads.</p>
<p>If so,</p>
<p>OPEN: adman.php<br />
FIND:<span class="inline-code"> if (is_single()) {</span><br />
REPLACE WITH: <span class="inline-code">if (is_single() || (class_exists(&#039;INAP_Post&#039;) &amp;&amp; $_REQUEST[&#039;type&#039;] == &quot;content&quot;)) {</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7713</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Sun, 19 Aug 2007 16:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7713</guid>
		<description>No I use Spam Karma and your comments got flagged. Sorry about that.

Okay this problem has happened several times now, and I don&#039;t know what is causing it.

If you read up in the comments a little you will see that the problem kinda corrects itself, so I think it is a server issue. I have suggested a few &lt;a href=&quot;http://anthologyoi.com/inap/#comment-7039&quot; rel=&quot;nofollow&quot;&gt;fixes&lt;/a&gt;, but they haven&#039;t worked.  Some users have found that &lt;a href=&quot;http://anthologyoi.com/inap/#comment-7047&quot; rel=&quot;nofollow&quot;&gt; their theme was at  fault&lt;/a&gt;, but I have never been able to duplicate this on my own, nor has it happened to someone who could determine the exact nature of the error.

I&#039;m wondering if the problem has something to do with the header its name (inap-misc&lt;strong&gt;.js.php&lt;/strong&gt;). 

If you are on localhost now, after trying to fiddle with it, you can upload it to your main site and activate it just to see if that file works.</description>
		<content:encoded><![CDATA[<p>No I use Spam Karma and your comments got flagged. Sorry about that.</p>
<p>Okay this problem has happened several times now, and I don&#8217;t know what is causing it.</p>
<p>If you read up in the comments a little you will see that the problem kinda corrects itself, so I think it is a server issue. I have suggested a few <a href="http://anthologyoi.com/inap/#comment-7039" rel="nofollow">fixes</a>, but they haven&#8217;t worked.  Some users have found that <a href="http://anthologyoi.com/inap/#comment-7047" rel="nofollow"> their theme was at  fault</a>, but I have never been able to duplicate this on my own, nor has it happened to someone who could determine the exact nature of the error.</p>
<p>I&#8217;m wondering if the problem has something to do with the header its name (inap-misc<strong>.js.php</strong>). </p>
<p>If you are on localhost now, after trying to fiddle with it, you can upload it to your main site and activate it just to see if that file works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberdose</title>
		<link>http://anthologyoi.com/news-briefs/inap-and-feed-problems.html/comment-page-1#comment-7696</link>
		<dc:creator>uberdose</dc:creator>
		<pubDate>Sun, 19 Aug 2007 09:38:34 +0000</pubDate>
		<guid isPermaLink="false">http://anthologyoi.com/news-briefs/inap-and-feed-problems.html#comment-7696</guid>
		<description>Have my previous comments come through to you? If so, sorry for spamming you ... If not I will repeat them.</description>
		<content:encoded><![CDATA[<p>Have my previous comments come through to you? If so, sorry for spamming you &#8230; If not I will repeat them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

