<?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: Media tags plugin</title>
	<atom:link href="http://www.codehooligans.com/2008/12/14/media-tags-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/</link>
	<description>I'm the Devil in the code!</description>
	<lastBuildDate>Fri, 30 Jul 2010 06:15:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Paul Menard</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42499</link>
		<dc:creator>Paul Menard</dc:creator>
		<pubDate>Wed, 15 Jul 2009 17:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42499</guid>
		<description>Comments are now closed on this Post. Please refer to the official Media-Tags 2.0 Release post where you will be able to enter comments. http://www.codehooligans.com/2009/07/15/media-tags-20-released/</description>
		<content:encoded><![CDATA[<p>Comments are now closed on this Post. Please refer to the official Media-Tags 2.0 Release post where you will be able to enter comments. <a href="http://www.codehooligans.com/2009/07/15/media-tags-20-released/" rel="nofollow">http://www.codehooligans.com/2009/07/15/media-tags-20-released/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Menard</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42333</link>
		<dc:creator>Paul Menard</dc:creator>
		<pubDate>Wed, 08 Jul 2009 21:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42333</guid>
		<description>All I&#039;ve finally reached the point in the development of the new Media Tags plugin to go public. Public beta that is. I&#039;ve started a new post http://www.codehooligans.com/2009/07/08/media-tags-20-beta/ where you can download the new 2.0 Beta A version. There I&#039;ve also listed many of the key features in this latest release. Feel free to download this and provided feedback. I always appreciate it. Thanks.</description>
		<content:encoded><![CDATA[<p>All I&#8217;ve finally reached the point in the development of the new Media Tags plugin to go public. Public beta that is. I&#8217;ve started a new post <a href="http://www.codehooligans.com/2009/07/08/media-tags-20-beta/" rel="nofollow">http://www.codehooligans.com/2009/07/08/media-tags-20-beta/</a> where you can download the new 2.0 Beta A version. There I&#8217;ve also listed many of the key features in this latest release. Feel free to download this and provided feedback. I always appreciate it. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Menard</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42323</link>
		<dc:creator>Paul Menard</dc:creator>
		<pubDate>Wed, 08 Jul 2009 13:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42323</guid>
		<description>@Moth Menace: Yes I have made it through most of my list. Stuck on the Media Tag Cloud which I might just pass on for the moment. The backend functionality is wrapped. Will be announcing a beta release hopefully today in a new post on this site. Stay tuned...</description>
		<content:encoded><![CDATA[<p>@Moth Menace: Yes I have made it through most of my list. Stuck on the Media Tag Cloud which I might just pass on for the moment. The backend functionality is wrapped. Will be announcing a beta release hopefully today in a new post on this site. Stay tuned&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moth Menace</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42317</link>
		<dc:creator>Moth Menace</dc:creator>
		<pubDate>Wed, 08 Jul 2009 10:35:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42317</guid>
		<description>Hey Paul, did you get to step 1 on your todo list yet? This is the killer feature for me. If you did, any chance of a prelease version? I am in need of this pretty badly right now. Keep up the great work.</description>
		<content:encoded><![CDATA[<p>Hey Paul, did you get to step 1 on your todo list yet? This is the killer feature for me. If you did, any chance of a prelease version? I am in need of this pretty badly right now. Keep up the great work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Violeta</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42308</link>
		<dc:creator>Violeta</dc:creator>
		<pubDate>Tue, 07 Jul 2009 16:01:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42308</guid>
		<description>Ami, Paul, thanks for posting code! Really helpful. :)</description>
		<content:encoded><![CDATA[<p>Ami, Paul, thanks for posting code! Really helpful. <img src='http://www.codehooligans.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Menard</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42198</link>
		<dc:creator>Paul Menard</dc:creator>
		<pubDate>Fri, 03 Jul 2009 02:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42198</guid>
		<description>@Carlos: Thanks for the comment. Yeah shortcodes with lots of options are on my list of features on the next version. But thanks for the suggestion. Love getting suggestions and request from user. Goes for anyone else since I&#039;m working on this plugin preparing for the next release if you have any suggestion please feel free to post them here. I&#039;ll see what I can do about getting the requests addressed. 

Already on my list and in development:

1. Move the media tag storage to the WordPress Taxonomy system and stop using postmeta table for lookup. This will provide tons of new flexibility for queries.
2. Add a Media Tags admin screen. This is already added. There will be a new panel under Media menu section. The screen looks and functions just like the WordPress Tags/Categories management screen.
3. Shortcodes for drop into content easy of use. This is working as of this week. 
4. Add many more template type codes that all queries across all Posts/Pages for media tags. 
5. Standardize on the template function parameters to be more like the WordPress get_posts parameters. Allowing parameters like numberposts, orderby, offset, etc. This will allow you to select media tag items and use a simple paging type system. More on that later. 
6. Add functionality to return Posts instead of the attachments. In the current media-tags version only the post attachment(s) are returned. Many need the ability to query display posts which have attachments matching some media-tag slug. 
7. Media Tag cloud template function and widget for your page/sidebar use. 
8. Search functionality from within Media section. A way to search from within Media or the Media popup to filter items. This may not make it into the 2.0 release.
9. Query on attachment sizes. This would be neat to have. Just not sure if it would be something everyone needs. 
10. (open)

Also in a few weeks I&#039;ll be hunting some beta testers for the 2.0 version of the plugin. I would not suggest running this on a production system. Thinking more if you are made happy using the current Media Tags plugin and have access to a dev instance of your site f might help to have some of you test the new features.</description>
		<content:encoded><![CDATA[<p>@Carlos: Thanks for the comment. Yeah shortcodes with lots of options are on my list of features on the next version. But thanks for the suggestion. Love getting suggestions and request from user. Goes for anyone else since I&#8217;m working on this plugin preparing for the next release if you have any suggestion please feel free to post them here. I&#8217;ll see what I can do about getting the requests addressed. </p>
<p>Already on my list and in development:</p>
<p>1. Move the media tag storage to the WordPress Taxonomy system and stop using postmeta table for lookup. This will provide tons of new flexibility for queries.<br />
2. Add a Media Tags admin screen. This is already added. There will be a new panel under Media menu section. The screen looks and functions just like the WordPress Tags/Categories management screen.<br />
3. Shortcodes for drop into content easy of use. This is working as of this week.<br />
4. Add many more template type codes that all queries across all Posts/Pages for media tags.<br />
5. Standardize on the template function parameters to be more like the WordPress get_posts parameters. Allowing parameters like numberposts, orderby, offset, etc. This will allow you to select media tag items and use a simple paging type system. More on that later.<br />
6. Add functionality to return Posts instead of the attachments. In the current media-tags version only the post attachment(s) are returned. Many need the ability to query display posts which have attachments matching some media-tag slug.<br />
7. Media Tag cloud template function and widget for your page/sidebar use.<br />
8. Search functionality from within Media section. A way to search from within Media or the Media popup to filter items. This may not make it into the 2.0 release.<br />
9. Query on attachment sizes. This would be neat to have. Just not sure if it would be something everyone needs.<br />
10. (open)</p>
<p>Also in a few weeks I&#8217;ll be hunting some beta testers for the 2.0 version of the plugin. I would not suggest running this on a production system. Thinking more if you are made happy using the current Media Tags plugin and have access to a dev instance of your site f might help to have some of you test the new features.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42196</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Thu, 02 Jul 2009 23:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42196</guid>
		<description>Hi Paul,

Thanks for your work. I just wanted to suggest the implementation of a shortcode to ease the display of related media on the posts. Regards!</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>Thanks for your work. I just wanted to suggest the implementation of a shortcode to ease the display of related media on the posts. Regards!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ami</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42164</link>
		<dc:creator>Ami</dc:creator>
		<pubDate>Thu, 02 Jul 2009 03:13:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42164</guid>
		<description>@paul 

thanks - you are absolutely right - i too get the same results! (i am not a php coder, but i do know sql, hence my foray into what was clearly not optimal).

can&#039;t wait for the new version, you ROCK.</description>
		<content:encoded><![CDATA[<p>@paul </p>
<p>thanks &#8211; you are absolutely right &#8211; i too get the same results! (i am not a php coder, but i do know sql, hence my foray into what was clearly not optimal).</p>
<p>can&#8217;t wait for the new version, you ROCK.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Menard</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42162</link>
		<dc:creator>Paul Menard</dc:creator>
		<pubDate>Thu, 02 Jul 2009 02:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42162</guid>
		<description>Ok this is my last post also. :)

Ami Thanks for the code. I&#039;m sure others who read these comments will find them usefull. While your code does in fact work I do not advocate anyone hand-coding SQL queries into their templates. 

Wound not a better solution be to use the build-in &#039;get_posts&#039; WP function?

$args = array(
	&#039;post_type&#039; =&gt; &#039;attachment&#039;,
	&#039;numberposts&#039; =&gt; -1,
	&#039;meta_key&#039; =&gt; &#039;post_media_tags&#039;,
	&#039;meta_value&#039; =&gt; &#039;page-full&#039;
	);
$tagimages = get_posts($args);

I just tried this on a client site using a ton of media-tagged images and came up with the same results when compared to your direct SQL. 

One other not about using the post meta fields. This is going away in the next version of the Media Tags plugin I&#039;m working on. I&#039;ve converted all the post meta fields to using the WordPress Taxonomy system just like Categories and Tags. In that case it would be easier to just query the terms for all the posts/pages for a given term. Then spin the array. 

Made some great progress on the plugin this afternoon. At least over 2 major hurdles. Hope to have version 2.0 out this month early. Actually my birthday is July 13 so this will probably be on that day.</description>
		<content:encoded><![CDATA[<p>Ok this is my last post also. <img src='http://www.codehooligans.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ami Thanks for the code. I&#8217;m sure others who read these comments will find them usefull. While your code does in fact work I do not advocate anyone hand-coding SQL queries into their templates. </p>
<p>Wound not a better solution be to use the build-in &#8216;get_posts&#8217; WP function?</p>
<p>$args = array(<br />
	&#8216;post_type&#8217; =&gt; &#8216;attachment&#8217;,<br />
	&#8216;numberposts&#8217; =&gt; -1,<br />
	&#8216;meta_key&#8217; =&gt; &#8216;post_media_tags&#8217;,<br />
	&#8216;meta_value&#8217; =&gt; &#8216;page-full&#8217;<br />
	);<br />
$tagimages = get_posts($args);</p>
<p>I just tried this on a client site using a ton of media-tagged images and came up with the same results when compared to your direct SQL. </p>
<p>One other not about using the post meta fields. This is going away in the next version of the Media Tags plugin I&#8217;m working on. I&#8217;ve converted all the post meta fields to using the WordPress Taxonomy system just like Categories and Tags. In that case it would be easier to just query the terms for all the posts/pages for a given term. Then spin the array. </p>
<p>Made some great progress on the plugin this afternoon. At least over 2 major hurdles. Hope to have version 2.0 out this month early. Actually my birthday is July 13 so this will probably be on that day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ami</title>
		<link>http://www.codehooligans.com/2008/12/14/media-tags-plugin/comment-page-1/#comment-42160</link>
		<dc:creator>Ami</dc:creator>
		<pubDate>Thu, 02 Jul 2009 02:07:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=185#comment-42160</guid>
		<description>ok, this is my last comment!  i hope this helps someone else because i got this to work outside the loop using a select query.  I hope this is going to display correctly!  everything is inside a php tag.

$tagimages = $wpdb-&gt;get_results(&quot;SELECT wposts.*
    FROM $wpdb-&gt;posts wposts, $wpdb-&gt;postmeta wpostmeta
    WHERE wposts.ID = wpostmeta.post_id 
    AND wpostmeta.meta_key = &#039;post_media_tags&#039; 
    AND wpostmeta.meta_value = &#039;escort cards&#039; 
    ORDER BY wposts.post_date DESC&quot;);
if ($tagimages) :
	foreach ($tagimages as $post) :
$imgtag = $post-&gt;guid;
$postpid = $post-&gt;post_parent;
?&gt;
&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;/scripts/timthumb.php?src=&amp;h=150&amp;w=150&amp;zc=1&quot;&gt;&lt;/a&gt;;</description>
		<content:encoded><![CDATA[<p>ok, this is my last comment!  i hope this helps someone else because i got this to work outside the loop using a select query.  I hope this is going to display correctly!  everything is inside a php tag.</p>
<p>$tagimages = $wpdb-&gt;get_results(&#8220;SELECT wposts.*<br />
    FROM $wpdb-&gt;posts wposts, $wpdb-&gt;postmeta wpostmeta<br />
    WHERE wposts.ID = wpostmeta.post_id<br />
    AND wpostmeta.meta_key = &#8216;post_media_tags&#8217;<br />
    AND wpostmeta.meta_value = &#8216;escort cards&#8217;<br />
    ORDER BY wposts.post_date DESC&#8221;);<br />
if ($tagimages) :<br />
	foreach ($tagimages as $post) :<br />
$imgtag = $post-&gt;guid;<br />
$postpid = $post-&gt;post_parent;<br />
?&gt;<br />
&lt;a href=&#8221;"&gt;&lt;img src=&#8221;/scripts/timthumb.php?src=&amp;h=150&amp;w=150&amp;zc=1&#8243;&gt;;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
