WP contributor’s role

janvier 21, 2009

According to support.wordpress.com/user-roles/ and codex.wordpress.org/Roles_and_Capabilities, a “contributor” to a blog can write and edit posts, but not publish posts and not upload files. So I’ve made this alias and confered it contributor’s status to see what it can do.

Not being able to upload files applies to images too. But you can insert an image via its URL, by shifting to HTML editor, clicking the img button and inserting the image’s URL.

Example:

Given farm4.static.flickr.com/3489/3214697267_b61ca8d503_o_d.png, I can insert it as explained above:

Code from an article in the Archives of Journal de Genève; the colored parts indicate the images the article is made of

I even get a prompt to insert a description for the image, which becomes the alt attribute: see the code for the above image:

<img src=”http://farm4.static.flickr.com/3489/3214697267_b61ca8d503_o_d.png” alt=”Code from an article in the Archives of Journal de Genève; the colored parts indicate the images the article is made of” />

The alt attribute is not seen normally, but it is essential for blind people whose screen readers read it aloud.

With contributor’s status, I can save this as draft, and submit it for revision to users with a higher status


Source code attempt

janvier 19, 2009

Using the code tag after the table tag, and the /code tag before the /table tag

<DIV
style=”position:relative;display:block;top:0; left:0;
height:521; width:1052″
xmlns:OliveXLib=”http://www.olive-soft.com/Schemes/XSLLibs”
xmlns:OlvScript=”http://www.olivesoftware.com/XSLTScript”
xmlns:msxsl=”urn:schemas-microsoft-com
:xslt”><div
id=”primImg” style=”position:absolute;top:30;left:10;”
z-index=”2″><img id=”articlePicture”
src=”/Repository/getimage.dll?path=JDG/1990/03/15/13/Img/
Ar0130200.png
border=”0″></img></div><div
id=”primImg” style=”position:absolute;top:86;left:5;”
z-index=”2″><img id=”articlePicture”
src=”/Repository/getimage.dll?path=JDG/1990/03/15/13/Img/
Ar0130201.png
border=”0″></img></div><div
id=”primImg” style=”position:absolute;top:83;left:365;”
z-index=”2″><img id=”articlePicture”
src=”/Repository/getimage.dll?path=JDG/1990/03/15/13/Img/
Ar0130202.png
border=”0″></img></div><div
id=”primImg” style=”position:absolute;top:521;left:369;”
z-index=”2″><img id=”articlePicture”
src=”/Repository/getimage.dll?path=JDG/1990/03/15/13/Img/
Ar0130203.png
border=”0″></img></div><div
id=”primImg” style=”position:absolute;top:81;left:719;”
z-index=”2″><img id=”articlePicture”
src=”/Repository/getimage.dll?path=JDG/1990/03/15/13/Img/
Ar0130204.png
border=”0″></img></div>