| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 6
|
|
| Author |
|
|
chasdobie
Cruncher Canada Joined: Aug 25, 2017 Post Count: 9 Status: Offline Project Badges:
|
I want to support WCG by putting a link promoting it on my websites. WCG provides a logo with information etc., all configurable by the WCG user. I've copied and pasted this code into an appropriate location on my website, but when I run the resulting html code through my validation app, there are many complaints.
Firstly, the html code provided is wrapped in an <iframe> which evidently is not secure in a major way, and can sometimes allow hackers to hijack the connection. Secondly, my validator says that some mobile devices don't support iframe at all -- this seems to negate the value of putting the WCG link on any website. The less major problem with the code is that width and height are expressed in pixels, such as width="405px". This is not how you define width in html -- proper format is width="405". The width="405px" is the proper format for a CSS file. Can WCG or someone on this forum please supply me with more updated html code, or at least point me to where I can find it. Many thanks |
||
|
|
knreed
Former World Community Grid Tech Joined: Nov 8, 2004 Post Count: 4504 Status: Offline Project Badges:
|
The widget code is unfortunately quite old and it definitely needs to be reworked (preferably as something like a javascript module or perhaps a dynamically generated image).
We do have a a set of work that is starting up that will hopefully include updating that code. Unfortunately, it won't be available until end of year at the earliest. |
||
|
|
chasdobie
Cruncher Canada Joined: Aug 25, 2017 Post Count: 9 Status: Offline Project Badges:
|
OK, many thanks. You've got lots of work on your collective plate. I've used the code and corrected what I can of it, but please notify me when the updated code is available.
|
||
|
|
UncleSocial
Cruncher Joined: May 27, 2011 Post Count: 7 Status: Offline Project Badges:
|
I came back to the forums after a 7 year break to ask a similar question.
It's a shame there's no API. I imagine there are hundreds of developers who'd love to create all kinds of plugins for Wordpress etc or codesnippets to help promote WCG and aid in recruitment. It pains me to see folding@ pulling ahead on the publicity front so well in this regard. |
||
|
|
KerSamson
Master Cruncher Switzerland Joined: Jan 29, 2007 Post Count: 1684 Status: Offline Project Badges:
|
There is API:
----------------------------------------https://www.worldcommunitygrid.org/help/viewTopic.do?shortName=api It is not easy to find the page, however there is a lot of information and many members use this API collection for own use or for the community (see Snurk). Enjoy, Yves |
||
|
|
UncleSocial
Cruncher Joined: May 27, 2011 Post Count: 7 Status: Offline Project Badges:
|
Oh! Thank you for that KerSamson.
I wonder why no one's doing anything with the API? It's a real shame. I'd have at least expected to be able to find an Wordpress plugin or two or maybe some code snippets out there. Maybe I've not looked hard enough! |
||
|
|
|