Need help? Check out our Support site, then


How can I add a weather widget?

  1. Hi, I want to integrate a weather widget of my current living place in the sidebar of my blog (madrasanne.com). I have found a free widget, but I cannot put the HTML-code in the widget sidebar. Could it be that my theme doesn't allow other widget than given?

    Thanks you and I really hope you can help me.

    Anne
    Blog url: http://madrasanne.wordpress.com/

  2. Hi there,

    Users aren't allowed to use Javascript and certain HTML tags here at WordPress.com for security reasons. It sounds like your code is being stripped out for this reason.

    Learn more about this here:
    http://en.support.wordpress.com/code/

  3. Hi Chris, thanks for your reply although it does not solver my problem....
    Greetings
    Ane

  4. Hi Anne,

    Would you mind copying and pasting the HTML code you're trying to insert into your Text Widget? I'd be happy to take a closer look to let you know if it's compatible with our system :)

  5. Hi evarlese,

    thank you for your reply. I am happy that somebody cares about my problem... So, here is the HTML-code. Actually, I am wondering since there is not mentioned that it works with Java only...

    <!-- von wetter.info generierter Code //-->
    <div class="wetterinfo" style="background-color:#99FCFF;">
    <link href="http://wiga.t-online.de/wetter/webgadget/css/wetterboxen.css" rel="stylesheet" type="text/css" />
    <div id="City" class="Day">Wetter Chennai</div>
    <div id="wetterinfo_data">
     
    </div>
    <script language="javascript" src="http://wiga.t-online.de/wetter/webgadget/getWetterinfoTemplate.php?uni=N9093558&sView=Small&Region=worldwide&sFormat=HTML&sSearch=false&Box=1"></script>
    <div class="WetterLogo"><img alt="Wetter" title="Wetter" height="15px" width="65px" id="wetterLogoBild" src="http://wiga.t-online.de/wetter/webgadget/images/wetter_info.gif"/></div>
    </div>
    <!-- von wetter.info generierter Code Ende//-->

    Thanks again.

    Anne

  6. Thanks for sharing! The reason that code won't work in the Text Widget is because it includes JavaScript. We remove JavaScript from WordPress.com for security reasons.

    If you can find code for a weather widget that is purely HTML, then that would work with our system.

  7. Thanks. Do YOU know such a e weather widget? I can search for it in google only.

    Take care.
    Anne

  8. Hi evarlese,

    I have got help and the problem is solved. Thank you...

Topic Closed

This topic has been closed to new replies.

About this Topic