I can't put an html on my wiki
The more people who report this problem, the more it gets noticed.
-
Inappropriate?I tried Weather Underground and Accuweather and they worked. Weather Channel did not.
I’m happy
-
Inappropriate?Hi,
Weather channel's script code is way too long for our HTML widget. If you copy the code into Notepad or another text editor, you can remove the comment lines which start with /* and end with */ like so:
/* this is a line of comments */
/* another line of comments */
That should sufficiently shorten the code.
Hope that helps!
Vu
1 person says
this solves the problem
-
Inappropriate?Hi Vu - is there a guideline to how "long" the code can be? I'm trying to use the 30boxes javascript/html/css badge, and it's not working either.
-
selfish bump. not sure if the employees are monitoring this... -
Inappropriate?Hi,
Sorry I missed this. The Javascript is limited by approximately the length of a "GET" request (the reasons have to do with how their code is embedded in the plugin image in editing mode)--this length is about 1024 characters, but after escapes done for URL encoding, it's just slightly less than that. For long pieces of code, I would suggest uploading a file to your wiki with the code (make sure the extension is NOT .js since it might set our spam filters off), and then linking to it that way:
<script type="text/javascript" src="/f/SomeScriptiUploaded"></script>
Loading Profile...




EMPLOYEE
