[okfn-help] website help

Adam Green adam.green at okfn.org
Wed Feb 1 13:51:25 UTC 2012


Hi there,

I'm really keen to implement the Wikipedia Citation Generator on The
Public Doman Review website : see for example
http://www.powerhousemuseum.com/collection/database/?irn=207936 (if
you scroll down to the bottom)

I am struggling to find instructions on how to do this online. I think
it should be pretty easy but I am not sure where to start.

this is the html from the powerhouse museum example

</div>Copy and paste this wiki-markup: <br /><br /><div
style="background-color:#ddddcc; border: solid 1px #333333; padding:
5px; margin-bottom: 1px; font-family: Courier, monospace;
text-align:left;font-size:11px">{{cite web |url=http://from.ph/207936
|title=Australian Six motor car |author=Powerhouse Museum
|accessdate=2 February 2012 |publisher=Powerhouse Museum,
Australia}}</div>


i need a way of automatically calling in the post-title, the URL, and
the date. I am guessing this needs to be done in the page php ?

it would ideally appear at the end of every post.

any help or pointers in the right direction would be much appreciated

thanks!

adam.



-- 
Adam Green

Editor, The Public Domain Review
http://publicdomainreview.org/

The Open Knowledge Foundation
http://okfn.org/




More information about the okfn-help mailing list