[Logo] QuestionPro - Research Access Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
can't embed poll in wordpress  XML
Forum Index -> MicroPoll
Author Message
AngryFilmsProductions

Beginner

Joined: 26/09/2009 09:20:00
Messages: 1
Offline

I pasted the code in an html editor and it worked but I can't get it to work in wordpress... any ideas?
http://angryfilmsproductions.com/blog/?p=600
mjsuva

Beginner

Joined: 23/10/2009 13:22:56
Messages: 1
Offline

I spent a while on this - and there are a couple of options.

The starting problem - newer versions of Wordpress don't allow javascript in postings - only in the sidebar.

There is a sidebar widget you can add:
Chris Abernathy's MicroPoll plugin for Wordpress - details at
http://www.chrisabernethy.com/wordpress-plugins/micropoll/

If you really want to put a poll in a post you need a way around the restrictions on javascript in a post.

For that I've used inline-js (http://www.ooso.net/inline-js) I had to modify it a little for my needs it correctly escapes <script> </script> but not <noscript> </noscript> so you either need to edit the code provided by MicroPoll, or modify the php code for the plugin. Only do this if you can totally trust the authors of your site. Allowing javascript enables creation of cross-site-scripting attacks.

If you want to display results in line you'll also need a plugin for embedding flash - I use kimili flash embed

http://kimili.com/plugins/kml_flashembed

If you don't maintain your own site where you control the code base and available plugins, you may not be able to use these plugins. Check to see if there are similar plugins provided on the site.
 
Forum Index -> MicroPoll
Go to:   
© 2005 Survey Analytics LLC   |   Online Surveys  |   Web Polls  |   Privacy Policy  |   Email Marketing Software  |   Survey