Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert a link to an external weather widget?

Martin Kaufmann October 18, 2018

Hi all,

 

because users love eye candy, I want to insert a weather widget to my confluence page(s).

I am trying to use code like this:

<div id="weatherWidget" data-serviceid="5bc8362892f347.33127988" data-format="160x160" data-version="1.1" data-city="18220613" data-source="http://www.wetter24.de"><div serviceid="weatherWidgetBlock"></div><script src="http://www.wetter24.de/fileadmin/scripts/widget.js"></script></div>

 

Is there a known way to achieve this?

 

We are on confluence 6.11.1

 

Thanks in advance,

 Martin

2 answers

0 votes
Thomas Schlegel
Community Champion
October 18, 2018

Hi Martin,

just put your code into a User Macro like this:

image.png

 

This works fine for me:

image.png

Martin Kaufmann October 22, 2018

Hello Thomas,

 

thanks. Stil had no time to try that, but I will..!

 

Regards,

 Martin

Martin Kaufmann November 22, 2018

Hello Thomas,

 

still no luck, I can´t get this to even show anything.

But thank you anyway.

 

Regards,

 Martin

0 votes
Martin Kaufmann October 18, 2018

I have tried to use the macro "widget connector", but I get a rendering error every time.

Maybe its just the wrong syntax, but I don´t get it .. :-(

 

Regards Martin

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events