Hi all!
I've been studing the api and had a look to the extensions, I have some
questions about the proper way to style the html obtained of an article.
I am looking at the parse api.
I wonder if contentformat or contentmodel do the trick to obtain an article
with a "cleaner" html or the matched css, so that it can be
"re-styled".
Unfortunately, I have not been able to use this parameters:
http://en.wikipedia.org/w/api.php?action=parse&page=New%20Jersey&co…
Could you please give me an example so that i understand what do they do?
Alternatively, i could use mobileformat parameters, which seems to get an
adapted and cleaner html.
But still, I would need to find out the scheme of Id and classes used in
the html to re-style it.
Where could I find such scheme?
I also would like to get rid of the [edit] or [update] elements: I want the
article in "read mode" only.
Is there maybe a parameters providing this output?
If someone of you ever saw the "Dictionary" application in a macbook
(pointing at wikipedia) that is the style I am aiming to.
Am I going in the proper direction ?
Do you have any remark or suggestion ?
I was thinking to apply a css on obtained html, if there was a json output
with just "bare" elements (such as table, images, paragraphs, links ext,
links int, ) it would awesome...
As always, thank you very much for sharing ideas.
--
Luigi Assom
Skype contact: oggigigi