Twitter search widget

  • Unknown's avatar

    I want to use this http://twitter.com/goodies/widget_search twitter gives me an html code I plug in html code and all I see is the raw code when its done the codes doesn’t turn into what it is supposed to turn into. I have tried putting the html into my posts with a around it no good. So next I try a widget for the whole page I chose text widget which specifically says html is fine, and that still does not work. So can someone tell me what I am doing wrong?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Type your code here in the forums between backtick characters: `
    It is on the same key as the tilde: ~ next to the 1 / ! key.

    backtick code backtick

  • Unknown's avatar

    Here’s the code

    <script src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
      version: 2,
      type: 'search',
      search: 'Team Conan',
      interval: 6000,
      title: 'Our favorite giant redhead',
      subject: 'Team Conan',
      width: 250,
      height: 300,
      theme: {
        shell: {
          background: '#8ec1da',
          color: '#ffffff'
        },
        tweets: {
          background: '#ffffff',
          color: '#444444',
          links: '#1985b5'
        }
      },
      features: {
        scrollbar: false,
        loop: true,
        live: true,
        hashtags: true,
        timestamp: true,
        avatars: true,
        behavior: 'default'
      }
    }).render().start();
    </script>
  • Unknown's avatar

    Add Code to Your Site

    `<script >…</script>’
    will be stripped out by wp: code not allowed.

  • Unknown's avatar

    so what can I do to get this to work? Should I use
    <script >…</script> or
    <code >…

  • Unknown's avatar

    Tess has given you the link to the relevant support documentation entry. The wordpress.com software will strip out the code to preserve security on this multiuser blogging platform.

  • Unknown's avatar

    So if you can’t have code why is there a code button on the post editor that’s the part the confuses me when you click the code button it automatically creates click it again and it closes it with I don’t understand why the button would exist if wordpress.com does not allow code for security purposes

  • Unknown's avatar

    Please listen and comprehend;
    Yes we can use pure HTML in the code editor, but we cannot use certain kinds of code, and the ones we cannot use are all listed at the link in the support documentation Tess gave you. We cannot use Embeds, Flash, HTML, Javascript without the software stripping the code out to preserve security.

    Do you understand how javascript works? If not then read this please > http://onecoolsitebloggingtips.com/2007/10/08/why-javascript-is-a-security-risk/

  • Unknown's avatar

    Thank you 1tess for being so helpful

    Timethief please do not take this the wrong way but you have been very condescending every time I have asked a question, and not just to “stupid can’t read the freaking manual me”, I have read your past support posts and you have a history of rudeness and arrogance throughout. I don’t mean to start a flame war, that is not my intention but you really need to adopt a more polite attitude even if you are forced to deal with a bunch of incompetent buffoons.

  • Unknown's avatar

    There is nothing at all impolite in what I said to you in my comment above. You however have chosen to project, judge me and typing this rude comment in return. It’s my opinion that you would be well served to take your own advice.

  • The topic ‘Twitter search widget’ is closed to new replies.