<?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/"
		>
<channel>
	<title>Comments on: Using the Ajaxified Expand Post Now plug-in with Rob Miller&#8217;s Footnotes plug-in</title>
	<atom:link href="http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/</link>
	<description>everything is an experiment</description>
	<lastBuildDate>Tue, 07 Sep 2010 02:22:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: davinci</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3116</link>
		<dc:creator>davinci</dc:creator>
		<pubDate>Tue, 05 Jan 2010 04:54:19 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3116</guid>
		<description>You&#039;re welcome.  Happy New Year to you too.

-- davinci</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome.  Happy New Year to you too.</p>
<p>&#8211; davinci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paolo</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3096</link>
		<dc:creator>Paolo</dc:creator>
		<pubDate>Mon, 04 Jan 2010 09:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3096</guid>
		<description>That did it. Thanks a lot! For the others who want the same result, type it manually, copy pasting doesn&#039;t seem to work, I didn&#039;t check if there were differences. 

Interesting site. I might also try out rob miller&#039;s footnotes plugin, which I discovered in this post. Double Thanks! Will definitely check your site every now and then. Oh, and Happy New Year.</description>
		<content:encoded><![CDATA[<p>That did it. Thanks a lot! For the others who want the same result, type it manually, copy pasting doesn&#8217;t seem to work, I didn&#8217;t check if there were differences. </p>
<p>Interesting site. I might also try out rob miller&#8217;s footnotes plugin, which I discovered in this post. Double Thanks! Will definitely check your site every now and then. Oh, and Happy New Year.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davinci</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3090</link>
		<dc:creator>davinci</dc:creator>
		<pubDate>Mon, 04 Jan 2010 02:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3090</guid>
		<description>I think I understand what you&#039;re asking.  You want the &quot;collapse/expand&quot; link to appear after the newly loaded content, instead of where the &quot;more&quot; tag used to be.  The way to do that is to put the &quot;viewBox-p&quot; div right after the &lt;code&gt;$postMore&lt;/code&gt; link, instead of right after the &lt;code&gt;$postLess&lt;/code&gt; one.  

You should replace the TWO lines inside the &quot;if&quot; block with something like this:
&lt;pre lang=&quot;php&quot; line=&quot;63&quot;&gt;		$content=preg_replace(&#039;/&lt;a href=&quot;(\S+)#more-(\d+)&quot;(.*)&gt;(.*)&lt;\/a&gt;/&#039;, ($postLinkPrefix.&#039;&lt;a id=&quot;open-p&#039;.$id.&#039;&quot; href=&quot;&#039;.get_permalink().&#039;&quot; onclick=&quot;getData(\&#039;&#039;.$id.&#039;\&#039;,\&#039;post\&#039;);return false;&quot;&gt;&#039;.$postMore.&#039;&lt;/a&gt;&lt;div id=&quot;viewBox-p&#039;.$id.&#039;&quot;&gt;&lt;/div&gt;ja id=&quot;close-p&#039;.$id.&#039;&quot; style=&quot;display: none;&quot; href=&quot;&#039;.get_permalink().&#039;&quot; onclick=&quot;closeView(\&#039;p&#039;.$id.&#039;\&#039;);return false;&quot;&gt;&#039;.$postLess.&#039;&lt;/a&gt;&#039;.$postLinkPostfix), $content);&lt;/pre&gt;

I hope that helps.

-- davinci</description>
		<content:encoded><![CDATA[<p>I think I understand what you&#8217;re asking.  You want the &#8220;collapse/expand&#8221; link to appear after the newly loaded content, instead of where the &#8220;more&#8221; tag used to be.  The way to do that is to put the &#8220;viewBox-p&#8221; div right after the <code>$postMore</code> link, instead of right after the <code>$postLess</code> one.  </p>
<p>You should replace the TWO lines inside the &#8220;if&#8221; block with something like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>63
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">		<span style="color: #000088;">$content</span><span style="color: #339933;">=</span><span style="color: #990000;">preg_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/&lt;a href=&quot;(\S+)#more-(\d+)&quot;(.*)&gt;(.*)&lt;\/a&gt;/'</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$postLinkPrefix</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;a id=&quot;open-p'</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; onclick=&quot;getData(\''</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'\',\'post\');return false;&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$postMore</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;&lt;div id=&quot;viewBox-p'</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;&lt;/div&gt;ja id=&quot;close-p'</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; style=&quot;display: none;&quot; href=&quot;'</span><span style="color: #339933;">.</span>get_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; onclick=&quot;closeView(\'p'</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'\');return false;&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$postLess</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$postLinkPostfix</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>I hope that helps.</p>
<p>&#8211; davinci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paolo</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3087</link>
		<dc:creator>paolo</dc:creator>
		<pubDate>Mon, 04 Jan 2010 00:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3087</guid>
		<description>From what I understand, prereg replaces the first parameter with the second. I knew I had to edit where $postLess appeared (thrice, the first one was the setting a prefix/postfix, second was if bottom placement was enabled, and third was with the preg_replace, so it had to be the third, which is &lt;a href=&quot;http://textsnip.com/82eb15/php&quot; rel=&quot;nofollow&quot;&gt;lines 62-66&lt;/a&gt;). If $content is not equal to more, then search the content for the more link and replace it with the less link. Then add the div viewbox-p before throwing back the content.

At first I thought all I needed to do was remove this prereg in order to take out the replacement and return content untouched (bottom link would still appear since it was added in another function), but doing so killed the script, and more link no longer expanded. I tried taking out just the postLess link in the prereg, and also replacing the second value to &#039; &#039; so that the top more link would disappear, but I would get an &quot;error connecting to server, please try again later&quot; when clicking on the more link.

I&#039;m continually trying to tinker with those lines, but with no success so far. Again, I apologize for my ignorance as I&#039;m not well versed with php.</description>
		<content:encoded><![CDATA[<p>From what I understand, prereg replaces the first parameter with the second. I knew I had to edit where $postLess appeared (thrice, the first one was the setting a prefix/postfix, second was if bottom placement was enabled, and third was with the preg_replace, so it had to be the third, which is <a href="http://textsnip.com/82eb15/php" rel="nofollow">lines 62-66</a>). If $content is not equal to more, then search the content for the more link and replace it with the less link. Then add the div viewbox-p before throwing back the content.</p>
<p>At first I thought all I needed to do was remove this prereg in order to take out the replacement and return content untouched (bottom link would still appear since it was added in another function), but doing so killed the script, and more link no longer expanded. I tried taking out just the postLess link in the prereg, and also replacing the second value to &#8216; &#8216; so that the top more link would disappear, but I would get an &#8220;error connecting to server, please try again later&#8221; when clicking on the more link.</p>
<p>I&#8217;m continually trying to tinker with those lines, but with no success so far. Again, I apologize for my ignorance as I&#8217;m not well versed with php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davinci</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3057</link>
		<dc:creator>davinci</dc:creator>
		<pubDate>Sun, 03 Jan 2010 15:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3057</guid>
		<description>The only places where the collapse link appears is where &lt;code&gt;$postLess&lt;/code&gt; is referenced in the source code, so it shouldn&#039;t be that hard to find and edit it to make it do what you want.  I don&#039;t remember ever having a collapse link at the top of the post, but I probably customised the code when I downloaded it.  Do you understand regular expressions at all, and what &quot;preg_replace&quot; is doing?

-- davinci</description>
		<content:encoded><![CDATA[<p>The only places where the collapse link appears is where <code>$postLess</code> is referenced in the source code, so it shouldn&#8217;t be that hard to find and edit it to make it do what you want.  I don&#8217;t remember ever having a collapse link at the top of the post, but I probably customised the code when I downloaded it.  Do you understand regular expressions at all, and what &#8220;preg_replace&#8221; is doing?</p>
<p>&#8211; davinci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paolo</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3046</link>
		<dc:creator>paolo</dc:creator>
		<pubDate>Sun, 03 Jan 2010 06:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3046</guid>
		<description>oops. That looked different. Post got messed, due to the links, duh, my bad. Anyway, I was pertaining to lines 62-64 of the plugin, but I&#039;m not sure, and how to go about it if ever.</description>
		<content:encoded><![CDATA[<p>oops. That looked different. Post got messed, due to the links, duh, my bad. Anyway, I was pertaining to lines 62-64 of the plugin, but I&#8217;m not sure, and how to go about it if ever.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paolo</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3045</link>
		<dc:creator>paolo</dc:creator>
		<pubDate>Sun, 03 Jan 2010 06:11:24 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3045</guid>
		<description>I got the first one when I was messing around with the source. As for the collapse link from top that I want removed, it&#039;s from a theme that I&#039;m making. Say I have &quot;hello &lt;!--more--&gt;this is a post&quot;. The plugin works fine but has the collapse (&quot;less&quot; by default) link on top/before &quot;this is a post&quot; whereas I want it below/after the body, like how yours behaves. I thought setting the bottomlink to true would do that but instead of transferring the position, it adds another link at the after/at the bottom.

You&#039;ll have to excuse my php as I&#039;m not really good with it. I&#039;m still messing around but I&#039;m assuming I need to edit these lines to remove the top/default instance of collapse?

[quote]
if (!$more) {
		$content=preg_replace(&#039;/&lt;a&gt;(.*)/&#039;, ($postLinkPrefix.&#039;&lt;a href=&quot;&#039;.get_permalink().&#039;&quot; rel=&quot;nofollow&quot;&gt;&#039;.$postMore.&#039;&lt;/a&gt;&lt;a href=&quot;&#039;.get_permalink().&#039;&quot; rel=&quot;nofollow&quot;&gt;&#039;.$postLess.&#039;&lt;/a&gt;&#039;.$postLinkPostfix), $content);
		$content.=&#039;&#039;;
[/quote]</description>
		<content:encoded><![CDATA[<p>I got the first one when I was messing around with the source. As for the collapse link from top that I want removed, it&#8217;s from a theme that I&#8217;m making. Say I have &#8220;hello <!--more-->this is a post&#8221;. The plugin works fine but has the collapse (&#8220;less&#8221; by default) link on top/before &#8220;this is a post&#8221; whereas I want it below/after the body, like how yours behaves. I thought setting the bottomlink to true would do that but instead of transferring the position, it adds another link at the after/at the bottom.</p>
<p>You&#8217;ll have to excuse my php as I&#8217;m not really good with it. I&#8217;m still messing around but I&#8217;m assuming I need to edit these lines to remove the top/default instance of collapse?</p>
<p>[quote]<br />
if (!$more) {<br />
		$content=preg_replace(&#8216;/<a>(.*)/&#8217;, ($postLinkPrefix.&#8217;</a><a href="'.get_permalink().'" rel="nofollow">&#8216;.$postMore.&#8217;</a><a href="'.get_permalink().'" rel="nofollow">&#8216;.$postLess.&#8217;</a>&#8216;.$postLinkPostfix), $content);<br />
		$content.=&#8221;;<br />
[/quote]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davinci</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3034</link>
		<dc:creator>davinci</dc:creator>
		<pubDate>Sun, 03 Jan 2010 04:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3034</guid>
		<description>I&#039;ll answer the second question first.  To display a graphic while loading data, just put an HTML &quot;img&quot; tag in your loading message by setting the &quot;aepnLoadingMsg&quot; variable.  

I don&#039;t know what you&#039;re talking about when you refer to the &quot;collapse link from the top&quot;.  Can you post a link to a web site that shows this?  I think you&#039;re asking how to customise the &quot;expand&quot;/&quot;collapse&quot; messages, and the answer is that you can do this easily by editing the plugin&#039;s source file, if you know PHP.

-- davinci</description>
		<content:encoded><![CDATA[<p>I&#8217;ll answer the second question first.  To display a graphic while loading data, just put an HTML &#8220;img&#8221; tag in your loading message by setting the &#8220;aepnLoadingMsg&#8221; variable.  </p>
<p>I don&#8217;t know what you&#8217;re talking about when you refer to the &#8220;collapse link from the top&#8221;.  Can you post a link to a web site that shows this?  I think you&#8217;re asking how to customise the &#8220;expand&#8221;/&#8221;collapse&#8221; messages, and the answer is that you can do this easily by editing the plugin&#8217;s source file, if you know PHP.</p>
<p>&#8211; davinci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paolo</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-3033</link>
		<dc:creator>paolo</dc:creator>
		<pubDate>Sun, 03 Jan 2010 01:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-3033</guid>
		<description>Slightly OT, questions from a newbie regarding the AEPNW plugin--How were you able to take out the collapse link from the top? I had the bottomlink activated, but the collapse link would be displayed twice. Also, I&#039;d like to know how you added the graphic on the loaded scene.</description>
		<content:encoded><![CDATA[<p>Slightly OT, questions from a newbie regarding the AEPNW plugin&#8211;How were you able to take out the collapse link from the top? I had the bottomlink activated, but the collapse link would be displayed twice. Also, I&#8217;d like to know how you added the graphic on the loaded scene.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davinci</title>
		<link>http://stargrads.net/blogs/davinci/2009/08/using-the-ajaxified-expand-post-now-plugin-with-rob-millers-footnotes-plugin/comment-page-1/#comment-1539</link>
		<dc:creator>davinci</dc:creator>
		<pubDate>Mon, 14 Sep 2009 15:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://stargrads.net/blogs/davinci/?p=1077#comment-1539</guid>
		<description>&lt;a href=&quot;http://am.notsowise.net/ajaxified-expand-post-now&quot; rel=&quot;nofollow&quot;&gt;Apparently&lt;/a&gt;, the &lt;a href=&quot;http://www.neato.co.nz/ultimate-tag-warrior/&quot; rel=&quot;nofollow&quot;&gt;UTW&lt;/a&gt; plug-in has the same problem.</description>
		<content:encoded><![CDATA[<p><a href="http://am.notsowise.net/ajaxified-expand-post-now" rel="nofollow">Apparently</a>, the <a href="http://www.neato.co.nz/ultimate-tag-warrior/" rel="nofollow">UTW</a> plug-in has the same problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->