<?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: Attachment List WordPress Plugin</title>
	<atom:link href="http://reidbeels.com/posts/2006/10/attachment-list-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 03 Apr 2009 21:35:45 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nick</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1489</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Fri, 03 Apr 2009 21:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1489</guid>
		<description>eric,

i need the attachment list to do the same thing--ONLY show non-jpeg doc&#039;s attached like PDF, XLS, DOC, etc.

I tried to implement the code you said you inserted but couldn&#039;t get it to work. 

can you post the complete code with the changes so i can try to get the same results?

thanks,
nick</description>
		<content:encoded><![CDATA[<p>eric,</p>

<p>i need the attachment list to do the same thing&#8212;ONLY show non-jpeg doc&#8217;s attached like <span class="caps">PDF, XLS, DOC, </span>etc.</p>

<p>I tried to implement the code you said you inserted but couldn&#8217;t get it to work. </p>

<p>can you post the complete code with the changes so i can try to get the same results?</p>

<p>thanks,<br />
nick</p>]]></content:encoded>
	</item>
	<item>
		<title>By: eric</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1477</link>
		<dc:creator>eric</dc:creator>
		<pubDate>Sun, 04 Jan 2009 16:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1477</guid>
		<description>Hey, just thought i&apos;d throw in a quick addition i made. i needed to only query documents, and not pictures. so i changed the $rb_attachments to use the internal wordpress attachment function allowing me to get a particular mime type. this saves you a direct query.

$rb_attachments = get_children(array(&#039;post_parent&#039; =&gt; $post-&gt;ID, &#039;post_type&#039; =&gt; &#039;attachment&#039;, &#039;post_mime_type&#039; =&gt; &#039;application&#039;, &#039;orderby&#039; =&gt; &#039;menu_order&#039;));

if($rb_attachments) {

great plugin!</description>
		<content:encoded><![CDATA[<p>Hey, just thought i&apos;d throw in a quick addition i made. i needed to only query documents, and not pictures. so i changed the $rb_attachments to use the internal wordpress attachment function allowing me to get a particular mime type. this saves you a direct query.</p>

<p>$rb_attachments = get_children(array(&#8216;post_parent&#8217; =&gt; $post-&gt;ID, &#8216;post_type&#8217; =&gt; &#8216;attachment&#8217;, &#8216;post_mime_type&#8217; =&gt; &#8216;application&#8217;, &#8216;orderby&#8217; =&gt; &#8216;menu_order&#8217;));</p>

<p>if($rb_attachments) {</p>

<p>great plugin!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1436</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Sat, 27 Sep 2008 06:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1436</guid>
		<description>nevermind</description>
		<content:encoded><![CDATA[<p>nevermind</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1434</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Sat, 27 Sep 2008 06:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1434</guid>
		<description>boo, the preg match things got stripped... lets try this again... they are: &lt;code&gt;&lt;!--more(.*?)?--&gt;&lt;/code&gt; and &lt;code&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>boo, the preg match things got stripped&#8230; lets try this again&#8230; they are: <code><!--more(.*?)?--></code> and <code></code></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1437</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Sat, 27 Sep 2008 05:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1437</guid>
		<description>Thought you may be interested in something I added. I needed to be able to show the attachment list in the full post, but not in the short version when using WP&#039;s &quot;more&quot; break in posts so I included the following code just after the line &#039;if (!isset($post-&gt;ID)) return $content;&#039; ...

if ( preg_match(&#039;/&lt;!--more(.*?)?--&gt;/&#039;, $post-&gt;post_content) and !preg_match(&#039;//&#039;, $content)) return $content;

Just returns the content if it does contain a more tag and doesn&#039;t contain the more span in the full post.

I also noticed that &#039;if (!is_single()) return $content;&#039; works as well for my scenario without any of the regex-matching slowdowns since all my &quot;more&quot; tagged posts are in list-form when I don&#039;t want the attachment list showing.</description>
		<content:encoded><![CDATA[<p>Thought you may be interested in something I added. I needed to be able to show the attachment list in the full post, but not in the short version when using <span class="caps">WP&#8217;</span>s &#8220;more&#8221; break in posts so I included the following code just after the line &#8216;if (!isset($post-&gt;ID)) return $content;&#8217; &#8230;</p>

<p>if ( preg_match(&#8216;/<!--more(.*?)?-->/&#8217;, $post-&gt;post_content) and !preg_match(&#8216;//&#8217;, $content)) return $content;</p>

<p>Just returns the content if it does contain a more tag and doesn&#8217;t contain the more span in the full post.</p>

<p>I also noticed that &#8216;if (!is_single()) return $content;&#8217; works as well for my scenario without any of the regex-matching slowdowns since all my &#8220;more&#8221; tagged posts are in list-form when I don&#8217;t want the attachment list showing.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1433</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sat, 10 May 2008 07:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1433</guid>
		<description>Hi, this plug in is exactly what im after..however can i limit it to only effect PDF and WORD docs so for example i can still put jpegs into the text etc.</description>
		<content:encoded><![CDATA[<p>Hi, this plug in is exactly what im after..however can i limit it to only effect <span class="caps">PDF </span>and <span class="caps">WORD </span>docs so for example i can still put jpegs into the text etc.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Scot Hacker</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1430</link>
		<dc:creator>Scot Hacker</dc:creator>
		<pubDate>Fri, 27 Jul 2007 20:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1430</guid>
		<description>Odd: Your description says &quot;Only attachments that are not already linked to or displayed in the post text will be shown.&quot; That&#039;s actually the opposite of  the behavior I&#039;m looking for (I want to show icons if a post includes an image, audio, or video; and I wouldn&#039;t  want an icon for  a file that&#039;s merely attached but not included in the post  body), so I was going to mod the plugin to reverse the behavior. But then I discovered that icons are displayed regardless whether  media is embedded in the post or merely attached to it (i.e they&#039;re  displayed in all  cases). So it seems that your  description might be off on that point?</description>
		<content:encoded><![CDATA[<p>Odd: Your description says &#8220;Only attachments that are not already linked to or displayed in the post text will be shown.&#8221; That&#8217;s actually the opposite of  the behavior I&#8217;m looking for (I want to show icons if a post includes an image, audio, or video; and I wouldn&#8217;t  want an icon for  a file that&#8217;s merely attached but not included in the post  body), so I was going to mod the plugin to reverse the behavior. But then I discovered that icons are displayed regardless whether  media is embedded in the post or merely attached to it (i.e they&#8217;re  displayed in all  cases). So it seems that your  description might be off on that point?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Scot Hacker</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1431</link>
		<dc:creator>Scot Hacker</dc:creator>
		<pubDate>Fri, 27 Jul 2007 20:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1431</guid>
		<description>The path to this plugin&#039;s CSS  file does  not work for blogs that are not installed in the root. This can be fixed like this. After:

function rb_attachment_css() {
... add this line: ...
$siteurl = get_bloginfo(&#039;url&#039;);

Otherwise $siteurl is empty and the CSS path is root relative, not site relative.  This  method makes the CSS path absolute so it works.</description>
		<content:encoded><![CDATA[<p>The path to this plugin&#8217;s <span class="caps">CSS  </span>file does  not work for blogs that are not installed in the root. This can be fixed like this. After:</p>

<p>function rb_attachment_css() {<br />
&#8230; add this line: &#8230;<br />
$siteurl = get_bloginfo(&#8216;url&#8217;);</p>

<p>Otherwise $siteurl is empty and the <span class="caps">CSS </span>path is root relative, not site relative.  This  method makes the <span class="caps">CSS </span>path absolute so it works.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Attachment List - DevelopeNet.com</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1429</link>
		<dc:creator>Attachment List - DevelopeNet.com</dc:creator>
		<pubDate>Tue, 05 Jun 2007 21:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1429</guid>
		<description>[...] Attachment List   Attachment List Version: 1.1License: GPLDescription:  This plugin lists attachments to a WordPress 2.x post in a list following the text with an icon based on their extension. Only attachments that are not already linked to or displayed in the post text will be shown (this is mainly to prevent inline images from being listed).Author: Reid BeelsPlugin Page [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Attachment List   Attachment List Version: 1.1License: <span class="caps">GPLD</span>escription:  This plugin lists attachments to a WordPress 2.x post in a list following the text with an icon based on their extension. Only attachments that are not already linked to or displayed in the post text will be shown (this is mainly to prevent inline images from being listed).Author: Reid BeelsPlugin Page [&#8230;]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: WP Plugins DB &#187; Blog Archive &#187; Attachment List</title>
		<link>http://reidbeels.com/posts/2006/10/attachment-list-plugin/comment-page-1/#comment-1420</link>
		<dc:creator>WP Plugins DB &#187; Blog Archive &#187; Attachment List</dc:creator>
		<pubDate>Sun, 20 May 2007 07:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://reidbeels.com/posts/2006/10/attachment-list-plugin/#comment-1420</guid>
		<description>[...] Visit [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Visit [&#8230;]</p>]]></content:encoded>
	</item>
</channel>
</rss>
