<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://zivtech.com" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
 <title>HOWTO</title>
 <link>http://zivtech.com/terms/howto</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>HowTo: Add a freetagging form to a node display (Drupal 5) </title>
 <link>http://zivtech.com/blog/howto-add-a-freetagging-form-a-node-display-drupal-5</link>
 <description>&lt;p&gt;&lt;i&gt;This has been added to the &lt;a href=&quot;http://drupal.org/node/250805&quot;&gt;Drupal 5 PHP Snippet section of the Drupal Handbook&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;I needed to make a little freetagging form to allow users to tag content as they view it - here&#039;s how I did it:  &lt;/p&gt;
&lt;p&gt;Set up a freetagging vocabulary using taxonomy.module and assign it to your content type as usual.  Note the vid (vocabulary id) of your freetagging vocabulary (you can find it in the URL when editing the vocabulary).  In a custom module, create a new form like so:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;// form for adding tags to nodes &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;MY_CUSTOM_MODULE_tag_form&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$nid &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) {&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$form &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array();&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$form&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;nid&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;#type&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;hidden&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;#value&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$nid&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$form&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;tag&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;#type&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;textfield&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;#title&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;add tag&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;br /&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$form&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;submit&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;] = array(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;#type&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;submit&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;#value&#039; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;t&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;+&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;),&lt;br /&gt;&amp;nbsp; );&lt;br /&gt;&amp;nbsp; return &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$form&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://zivtech.com/blog/howto-add-a-freetagging-form-a-node-display-drupal-5&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://zivtech.com/blog/howto-add-a-freetagging-form-a-node-display-drupal-5#comments</comments>
 <category domain="http://zivtech.com/terms/drupal">Drupal</category>
 <category domain="http://zivtech.com/terms/form-api">form api</category>
 <category domain="http://zivtech.com/terms/howto">HOWTO</category>
 <category domain="http://zivtech.com/terms/tagging">tagging</category>
 <pubDate>Wed, 23 Apr 2008 15:49:19 -0500</pubDate>
 <dc:creator>Jody</dc:creator>
 <guid isPermaLink="false">805 at http://zivtech.com</guid>
</item>
<item>
 <title>Module Mashup: Creating a feed of embedded videos using emfield, feedapi, and feedapi_mapper</title>
 <link>http://zivtech.com/blog/module-mashup-creating-a-feed-embedded-videos-using-emfield-feedapi-and-feedapimapper</link>
 <description>&lt;p&gt;&lt;i&gt;The following is a HOWTO I just &lt;a href=&quot;http://drupal.org/node/246265&quot;&gt;submitted to the Drupal.org Handbook&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;It is now easy to create feeds of embedded third-party videos on Drupal sites using a combination of &lt;a href=&quot;http://drupal.org/project/cck&quot;&gt;CCK&lt;/a&gt;, &lt;a href=&quot;http://drupal.org/project/emfield&quot;&gt;Embedded Media Field&lt;/a&gt;, &lt;a href=&quot;http://drupal.org/project/feedapi&quot;&gt;FeedAPI&lt;/a&gt;, &amp;amp; the &lt;a href=&quot;http://drupal.org/project/feedapi_mapper&quot;&gt;FeedAPI Element Mapper&lt;/a&gt; modules.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enable the following modules and sub-modules: CCK, Embedded Media Field, Embedded Video Field, FeedAPI, FeedAPI Mapper, Common Syndication Parser or SimplePie Parser, FeedAPI Node, &amp;amp; (if you plan on using views with your feeds) FeedAPI Node Views. Make sure to give yourself the correct permissions in the access control admin page.&lt;/li&gt;
&lt;li&gt;Create a content type that includes an embedded video field. Once you add the field in is suggested that you select &quot;thumbnail&quot; or &quot;thumbnail with thickbox&quot; to avoid loading too many videos on pages with teaser lists. You can use FeedAPI Node&#039;s default content type, called feed, or you can create your own and designate it as a feed in the content type settings page.&lt;/li&gt;
&lt;li&gt;Under admin/settings/feedapi it is suggested that you remove &lt;object&gt; and &lt;embed&gt; tags from the allowed list, as these may cause problems with certain providers.&lt;/embed&gt;&lt;/object&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;&lt;a href=&quot;http://zivtech.com/blog/module-mashup-creating-a-feed-embedded-videos-using-emfield-feedapi-and-feedapimapper&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://zivtech.com/blog/module-mashup-creating-a-feed-embedded-videos-using-emfield-feedapi-and-feedapimapper#comments</comments>
 <category domain="http://zivtech.com/terms/drupal">Drupal</category>
 <category domain="http://zivtech.com/terms/embedded-media-field">embedded media field</category>
 <category domain="http://zivtech.com/terms/feedapi">feedapi</category>
 <category domain="http://zivtech.com/terms/howto">HOWTO</category>
 <category domain="http://zivtech.com/terms/module-mashup">module mashup</category>
 <pubDate>Sun, 13 Apr 2008 20:08:00 -0500</pubDate>
 <dc:creator>Alex UA</dc:creator>
 <guid isPermaLink="false">777 at http://zivtech.com</guid>
</item>
</channel>
</rss>
