<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Musings of a Trained Monkey: Polling Plugin for Typo II...</title>
    <link>http://www.stevelongdo.com/articles/2006/01/20/polling-plugin-for-typo-ii</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Polling Plugin for Typo II...</title>
      <description>I am continuing to work on the &lt;a href="/pages/projects"&gt;polling stuff&lt;/a&gt; for &lt;a href="http://typo.leetsoft.com"&gt;Typo&lt;/a&gt;.  I've ended up expanding my approach to include a full Admin panel for the Polls.  Mostly to allow selection of the "active" sidebar poll and to be able to view historical poll results.  &lt;br /&gt;
I've run into an issue with the sidebar poll content.rhtml though.  I was wanting to have AJAX voting via remote_link_to's, but no public routing is defined for sidebar plugins.&lt;br /&gt; I've looked into how TextFilters are implemented in &lt;a href="http://typo.leetsoft.com"&gt;Typo&lt;/a&gt; to better understand how they work despite not having public routing.  The TextFilterController defines a public_action method that allows child filters to include symbols for :plugin_public_action which in turn exposes the referenced methods.&lt;br /&gt;
Despite being named plugin_public_action it is in fact only implemeted for Filters and not for Sidebar components.  I am debating adding this functionality and submitting a patch, however, I wonder if I am the only person that needs this functionality?  I would update the routes.rb file to include a route for my poll controller, but that doesn't work because the sidebar controller handles loading all of the dependencies for "child" plugins.  </description>
      <pubDate>Fri, 20 Jan 2006 06:05:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:51e12b95-1b06-4c00-8641-f7990e40d7cf</guid>
      <author>Steve Longdo</author>
      <link>http://www.stevelongdo.com/articles/2006/01/20/polling-plugin-for-typo-ii</link>
      <category>rails</category>
      <category>typo</category>
      <category>poll</category>
      <category>plugin</category>
      <category>ajax</category>
      <category>sidebar</category>
      <trackback:ping>http://www.stevelongdo.com/articles/trackback/60</trackback:ping>
    </item>
    <item>
      <title>"Polling Plugin for Typo II..." by Steve Longdo</title>
      <description>I will be posting an update probably this weekend with progress and perhaps my first live poll (fingers crossed).  I am in the process of adding some features right now that probably are less important than getting the polls to render in the sidebar, but I am sick of fighting that particular issue right now.  I have added admin code that I am not sure if I can package as part of a plugin, I need to research this a bit more before I can release anything "officially" though.</description>
      <pubDate>Sat, 21 Jan 2006 07:53:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:2dea363c-f8c8-4fc5-877a-c40161346ff1</guid>
      <link>http://www.stevelongdo.com/articles/2006/01/20/polling-plugin-for-typo-ii#comment-63</link>
    </item>
    <item>
      <title>"Polling Plugin for Typo II..." by Kevin</title>
      <description>Steve: How's the polling plugin going? Strangely, I was also thinking about adding this, I need it for my podcast, and using textfilters seemed very promising. I also thought along the lines of making Poll model similar to a Comment, or even make a Poll part of the comment. Anyway, I don't have time to work on this now, and I'd love to use anything working... Do you have anything working now? </description>
      <pubDate>Fri, 20 Jan 2006 18:53:14 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:70cd7ca2-f66e-4f9b-a3b8-2e263fb38f2e</guid>
      <link>http://www.stevelongdo.com/articles/2006/01/20/polling-plugin-for-typo-ii#comment-62</link>
    </item>
  </channel>
</rss>
