1.

Solve : change a code set up?

Answer»

is it possible to change a code from script to html




http://www.widgeo.net/geocompteur/geocity.php?c=geocity_blue2&id=1590014&adult=0&cat=maison">

widgeo.net
http://www.widgeo.net/img/logopm.png">

Nope.Quote from: kpac on October 24, 2010, 04:07:17 PM
Nope.

oh right , you seem to be very sure on that point anyway , i just have to think of something else then Yes I am.

BTW, http://www.mywot.com/en/scorecard/widgeo.net

Actually, there is a way with this script, as it only outputs plain HTML.

Code: [Select]<table><tr><td>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" WIDTH="157" HEIGHT="203">
<PARAM NAME="movie" VALUE="http://www.widgeo.net/geocompteur/swf/geocity_blue2.swf?idm=1590014&jour=4&online=2&total=5">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="wmode" VALUE="transparent">
<embed wmode="transparent" width="157" height="203" src="http://www.widgeo.net/geocompteur/swf/geocity_blue2.swf?idm=1590014&jour=4&online=2&total=5" pluginspage="http://www.macromedia.com/shockwave/download/" type="application/x-shockwave-flash" quality="high"></embed>
</OBJECT>
</td></tr></table>

If you're using that on wordpress I'm not sure if it will work because they strip a lot of HTML tags.you see , i knew you would know something from your memory banks , thanks patio i'll let you know and then you can store that information as well Quote from: HARRY 48 on October 24, 2010, 04:36:56 PM
thanks patio

wha?Quote from: BC_Programmer on October 25, 2010, 11:06:44 AM
wha?


oh dear me , we oldies thank you kpac Quote from: BC_Programmer on October 25, 2010, 11:06:44 AM
wha?
I was wondering that too. hi kpac , it did not work , so this is what an expert told me on the forum , i think i may just give up



===================================================================
@harry

[java]script and shockwave flash are stripped out by the software.

See here > http://en.support.wordpress.com/code/

Long story short - you cannot use that widget on a wordpress.com blog. It's a shockwave Flash widget and the software will strip the code out.
===================================================================
WordPress.com is a type of shared environment, where all users are running off of the same software. This is great because it allows us at Automattic to update millions of blogs at the same time with a single click. It means we can fix bugs or offer new features very quickly, which is a WIN for you as users. Having all users running on the same software can also be dangerous. If we aren’t careful, one user has the potential to take down the entire site. So this is why we need to limit some of the things you post on your blog.

If you wrote some code or PASTED it in from another web site and then it disappeared after publishing the post, the code is likely being stripped out. If you feel it’s being stripped out improperly or if you would like to suggest additional types of code we should allow, please contact support.

HTML Tags
WordPress.com allows the following HTML code in your posts, pages, and widgets:

address, a, abbr, acronym, area, b, big, blockquote, br, caption, cite, CLASS, code, col, del, dd, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, ins, kbd, li, map, ol, p, pre, q, s, span, strike, strong, sub, sup, table, tbody, td, tfoot, tr, tt, ul, var

Check out W3 Schools for more information about what each of these HTML codes are used for.

If you are familiar with HTML, you’ll notice that codes such as embed, frame, iframe, form, input, object, textarea and others are missing from the above list. Those codes are not allowed on WordPress.com for security reasons.


Javascript
Users are not allowed to post JavaScript on WordPress.com blogs. JavaScript can be used for malicious purposes. As an example, JavaScript has taken down sites such as MySpace.com and LiveJournal offline in the past. The security of all the blogs is a top priority and until we can guarantee scripting languages will not be harmful they will not be permitted.

JavaScript from trusted partners, such as YouTube and Google Video, is converted into a WordPress shortcode when a post is saved.


Flash and Other Embeds
Flash and all other embeds are not allowed in WordPress.com posts, pages, or text widgets. For security reasons, we remove the tags needed for these to work. Your intentions may be innocent, but someone somewhere would try to damage the site, affecting all of our users.

There are several safe ways to post Videos, Audio, and other items to your WordPress.com blog.

a bit more information from the wordpress forum



Well, the shortcode version of this code is the one I pasted above.

But as you can see, the code says "jour=4&online=2&total=5" (5 total visitors, 4 today, 2 online):

if you put the shortcode in a text widget, the widget will keep showing the same NUMBERS day in day out.

So, as I already pointed out, this is not a counter: you need to find a flash equivalent of this widget, this is just the output for one particular site on one particular day.


Discussion

No Comment Found