Tuesday October 17, 2006 Blog about your favourite Wiki with the Wikipedia Formatter Plugin
You can easily use the Plog4U Wikipedia Formatter in this Groovy-News Roller instance. Simply register your user and create a new blog.
In the Preferences->Settings menu you can define your prefered Weblog editor page to be used as editor-text.jsp and that the Wikipedia formatter plugin should be applied by default:

Uploaded images are included in a blog entry by inserting the URL in the blog's text. If the name of the image ends with *.png, *.gif, *.jpg or *.jpeg the image is directly included in the text.
For example <center>http://www.groovy-news.org/e/resources/test/wiki_editor.png</center> embeds the image at the end of this blog entry.
If you create a template with the name _wiki,

wiki_url=http://en.wikipedia.org/wiki/${title}

The editor's textarea for this blog entry will look like this:

Using the syntax highlighter for code snippets
The Wikipedia formatter supports tags to show syntax highlighted code snippets for java, php, csharp, javscript, xml and abap programming language source code.
Here is a simple Java example:
<java>
package test;
public class HelloWorld {
/**
* The main method
*
* @param args
*/
public static void main(String[] args) {
// output example:
System.out.println("Hello World");
}
}
</java>
which renders like this:
package test;
public class HelloWorld {
/**
* The main method
*
* @param args
*/
public static void main(String[] args) {
// output example:
System.out.println("Hello World");
}
}
Posted by axelclk
( Oct 17 2006, 08:49:03 PM CEST )
Permalink
Comments [0]
Interwiki links used in the Wikipedia Formatter
Below is a list of the interwiki prefix links, which can be used with the Wikipedia Formatter plugin.
You can for example link to jamwiki.org by writing [[jamwiki:StartingPoints|jamwikis main page]] (Example: jamwikis main page).
plog4u=http://plog4u.org/index.php/${title}
plog4u_de=http://plog4u.de/index.php/${title}
jamwiki=http://jamwiki.org/wiki/en/${title}
abbenormal=http://www.ourpla.net/cgi-bin/pikie.cgi?${title}
acadwiki=http://xarch.tu-graz.ac.at/autocad/wiki/${title}
acronym=http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=${title}
advogato=http://www.advogato.org/${title}
aiwiki=http://www.ifi.unizh.ch/ailab/aiwiki/aiw.cgi?${title}
alife=http://news.alife.org/wiki/index.php?${title}
annotation=http://bayle.stanford.edu/crit/nph-med.cgi/${title}
annotationwiki=http://www.seedwiki.com/page.cfm?wikiid=368&doc=${title}
arxiv=http://www.arxiv.org/abs/${title}
aspienetwiki=http://aspie.mela.de/Wiki/index.php?title=${title}
bemi=http://bemi.free.fr/vikio/index.php?${title}
benefitswiki=http://www.benefitslink.com/cgi-bin/wiki.cgi?${title}
brasilwiki=http://rio.ifi.unizh.ch/brasilienwiki/index.php/${title}
bridgeswiki=http://c2.com/w2/bridges/${title}
c2find=http://c2.com/cgi/wiki?FindPage&value=${title}
cache=http://www.google.com/search?q=cache:${title}
ciscavate=http://ciscavate.org/index.php/${title}
cliki=http://ww.telent.net/cliki/${title}
cmwiki=http://www.ourpla.net/cgi-bin/wiki.pl?${title}
codersbase=http://www.codersbase.com/${title}
commons=http://commons.wikimedia.org/wiki/${title}
consciousness=http://teadvus.inspiral.org/
corpknowpedia=http://corpknowpedia.org/wiki/index.php/${title}
creationmatters=http://www.ourpla.net/cgi-bin/wiki.pl?${title}
dejanews=http://www.deja.com/=dnc/getdoc.xp?AN=${title}
demokraatia=http://wiki.demokraatia.ee/
dictionary=http://www.dict.org/bin/Dict?Database=*&Form=Dict1&Strategy=*&Query=${title}
disinfopedia=http://www.disinfopedia.org/wiki.phtml?title=${title}
diveintoosx=http://diveintoosx.org/${title}
docbook=http://docbook.org/wiki/moin.cgi/${title}
dolphinwiki=http://www.object-arts.com/wiki/html/Dolphin/${title}
drumcorpswiki=http://www.drumcorpswiki.com/index.php/${title}
dwjwiki=http://www.suberic.net/cgi-bin/dwj/wiki.cgi?${title}
echei=http://www.ikso.net/cgi-bin/wiki.pl?${title}
ecxei=http://www.ikso.net/cgi-bin/wiki.pl?${title}
efnetceewiki=http://purl.net/wiki/c/${title}
efnetcppwiki=http://purl.net/wiki/cpp/${title}
efnetpythonwiki=http://purl.net/wiki/python/${title}
efnetxmlwiki=http://purl.net/wiki/xml/${title}
eljwiki=http://elj.sourceforge.net/phpwiki/index.php/${title}
emacswiki=http://www.emacswiki.org/cgi-bin/wiki.pl?${title}
elibre=http://enciclopedia.us.es/index.php/${title}
eokulturcentro=http://esperanto.toulouse.free.fr/wakka.php?wiki=${title}
evowiki=http://www.evowiki.org/index.php/${title}
finalempire=http://final-empire.sourceforge.net/cgi-bin/wiki.pl?${title}
firstwiki=http://firstwiki.org/index.php/${title}
foldoc=http://www.foldoc.org/foldoc/foldoc.cgi?${title}
foxwiki=http://fox.wikis.com/wc.dll?Wiki~${title}
fr.be=http://fr.wikinations.be/${title}
fr.ca=http://fr.ca.wikinations.org/${title}
fr.fr=http://fr.fr.wikinations.org/${title}
fr.org=http://fr.wikinations.org/${title}
freebsdman=http://www.FreeBSD.org/cgi/man.cgi?apropos=1&query=${title}
gamewiki=http://gamewiki.org/wiki/index.php/${title}
gej=http://www.esperanto.de/cgi-bin/aktivikio/wiki.pl?${title}
gentoo-wiki=http://gentoo-wiki.com/${title}
globalvoices=http://cyber.law.harvard.edu/dyn/globalvoices/wiki/${title}
gmailwiki=http://www.gmailwiki.com/index.php/${title}
google=http://www.google.com/search?q=${title}
googlegroups=http://groups.google.com/groups?q=${title}
gotamac=http://www.got-a-mac.org/${title}
greencheese=http://www.greencheese.org/${title}
hammondwiki=http://www.dairiki.org/HammondWiki/index.php3?${title}
haribeau=http://wiki.haribeau.de/cgi-bin/wiki.pl?${title}
hewikisource=http://he.wikisource.org/wiki/${title}
herzkinderwiki=http://www.herzkinderinfo.de/Mediawiki/index.php/${title}
hrwiki=http://www.hrwiki.org/index.php/${title}
iawiki=http://www.IAwiki.net/${title}
imdb=http://us.imdb.com/Title?${title}
infosecpedia=http://www.infosecpedia.org/pedia/index.php/${title}
jargonfile=http://sunir.org/apps/meta.pl?wiki=JargonFile&redirect=${title}
jefo=http://www.esperanto-jeunes.org/vikio/index.php?${title}
jiniwiki=http://www.cdegroot.com/cgi-bin/jini?${title}
jspwiki=http://www.ecyrd.com/JSPWiki/Wiki.jsp?page=${title}
kerimwiki=http://wiki.oxus.net/${title}
kmwiki=http://www.voght.com/cgi-bin/pywiki?${title}
knowhow=http://www2.iro.umontreal.ca/~paquetse/cgi-bin/wiki.cgi?${title}
lanifexwiki=http://opt.lanifex.com/cgi-bin/wiki.pl?${title}
lasvegaswiki=http://wiki.gmnow.com/index.php/${title}
linuxwiki=http://www.linuxwiki.de/${title}
lojban=http://www.lojban.org/tiki/tiki-index.php?page=${title}
lqwiki=http://wiki.linuxquestions.org/wiki/${title}
lugkr=http://lug-kr.sourceforge.net/cgi-bin/lugwiki.pl?${title}
lutherwiki=http://www.lutheranarchives.com/mw/index.php/${title}
mathsongswiki=http://SeedWiki.com/page.cfm?wikiid=237&doc=${title}
mbtest=http://www.usemod.com/cgi-bin/mbtest.pl?${title}
meatball=http://www.usemod.com/cgi-bin/mb.pl?${title}
mediazilla=http://bugzilla.wikipedia.org/${title}
memoryalpha=http://www.memory-alpha.org/en/index.php/${title}
metaweb=http://www.metaweb.com/wiki/wiki.phtml?title=${title}
metawiki=http://sunir.org/apps/meta.pl?${title}
metawikipedia=http://meta.wikimedia.org/wiki/${title}
moinmoin=http://purl.net/wiki/moin/${title}
mozillawiki=http://wiki.mozilla.org/index.php/${title}
muweb=http://www.dunstable.com/scripts/MuWebWeb?${title}
netvillage=http://www.netbros.com/?${title}
oeis=http://www.research.att.com/cgi-bin/access.cgi/as/njas/sequences/eisA.cgi?Anum=${title}
openfacts=http://openfacts.berlios.de/index.phtml?title=${title}
openwiki=http://openwiki.com/?${title}
opera7wiki=http://nontroppo.org/wiki/${title}
orgpatterns=http://www.bell-labs.com/cgi-user/OrgPatterns/OrgPatterns?${title}
osi reference model=http://wiki.tigma.ee/
pangalacticorg=http://www.pangalactic.org/Wiki/${title}
personaltelco=http://www.personaltelco.net/index.cgi/${title}
patwiki=http://gauss.ffii.org/${title}
phpwiki=http://phpwiki.sourceforge.net/phpwiki/index.php?${title}
pikie=http://pikie.darktech.org/cgi/pikie?${title}
pmeg=http://www.bertilow.com/pmeg/${title}.php
ppr=http://c2.com/cgi/wiki?${title}
purlnet=http://purl.oclc.org/NET/${title}
pythoninfo=http://www.python.org/cgi-bin/moinmoin/${title}
pythonwiki=http://www.pythonwiki.de/${title}
pywiki=http://www.voght.com/cgi-bin/pywiki?${title}
raec=http://www.raec.clacso.edu.ar:8080/raec/Members/raecpedia/${title}
revo=http://purl.org/NET/voko/revo/art/${title}.html
rfc=http://www.rfc-editor.org/rfc/rfc${title}.txt
s23wiki=http://is-root.de/wiki/index.php/${title}
scoutpedia=http://www.scoutpedia.info/index.php/${title}
seapig=http://www.seapig.org/${title}
seattlewiki=http://seattlewiki.org/wiki/${title}
seattlewireless=http://seattlewireless.net/?${title}
seeds=http://www.IslandSeeds.org/wiki/${title}
senseislibrary=http://senseis.xmp.net/?${title}
shakti=http://cgi.algonet.se/htbin/cgiwrap/pgd/ShaktiWiki/${title}
slashdot=http://slashdot.org/article.pl?sid=${title}
smikipedia=http://www.smikipedia.org/${title}
sockwiki=http://wiki.socklabs.com/${title}
sourceforge=http://sourceforge.net/${title}
squeak=http://minnow.cc.gatech.edu/squeak/${title}
strikiwiki=http://ch.twi.tudelft.nl/~mostert/striki/teststriki.pl?${title}
susning=http://www.susning.nu/${title}
svgwiki=http://www.protocol7.com/svg-wiki/default.asp?${title}
tavi=http://tavi.sourceforge.net/${title}
tejo=http://www.tejo.org/vikio/${title}
terrorwiki=http://www.liberalsagainstterrorism.com/wiki/index.php/${title}
tmbw=http://www.tmbw.net/wiki/index.php/${title}
tmnet=http://www.technomanifestos.net/?${title}
tmwiki=http://www.EasyTopicMaps.com/?page=${title}
turismo=http://www.tejo.org/turismo/${title}
theopedia=http://www.theopedia.com/${title}
twiki=http://twiki.org/cgi-bin/view/${title}
twistedwiki=http://purl.net/wiki/twisted/${title}
uea=http://www.tejo.org/uea/${title}
unreal=http://wiki.beyondunreal.com/wiki/${title}
ursine=http://ursine.ca/${title}
usej=http://www.tejo.org/usej/${title}
usemod=http://www.usemod.com/cgi-bin/wiki.pl?${title}
visualworks=http://wiki.cs.uiuc.edu/VisualWorks/${title}
warpedview=http://www.warpedview.com/index.php/${title}
webdevwikinl=http://www.promo-it.nl/WebDevWiki/index.php?page=${title}
webisodes=http://www.webisodes.org/${title}
webseitzwiki=http://webseitz.fluxent.com/wiki/${title}
why=http://clublet.com/c/c/why?${title}
wiki=http://c2.com/cgi/wiki?${title}
wikia=http://www.wikia.com/wiki/index.php/${title}
wikibooks=http://en.wikibooks.org/wiki/${title}
wikicities=http://www.wikicities.com/index.php/${title}
wikif1=http://www.wikif1.org/${title}
wikinfo=http://www.wikinfo.org/wiki.php?title=${title}
wikimedia=http://wikimediafoundation.org/wiki/${title}
wikiquote=http://en.wikiquote.org/wiki/${title}
wikinews=http://en.wikinews.org/wiki/${title}
wikisource=http://sources.wikipedia.org/wiki/${title}
wikispecies=http://species.wikipedia.org/wiki/${title}
wikitravel=http://wikitravel.org/en/${title}
wikiworld=http://WikiWorld.com/wiki/index.php/${title}
wiktionary=http://en.wiktionary.org/wiki/${title}
wlug=http://www.wlug.org.nz/${title}
wlwiki=http://winslowslair.supremepixels.net/wiki/index.php/${title}
ypsieyeball=http://sknkwrks.dyndns.org:1957/writewiki/wiki.pl?${title}
zwiki=http://www.zwiki.org/${title}
wikt=http://en.wiktionary.org/wiki/${title}
# Here are the *in-project* interwiki prefixes for Wikipedia.
q=http://en.wikiquote.org/wiki/${title}
b=http://en.wikibooks.org/wiki/${title}
n=http://en.wikinews.org/wiki/${title}
aa=http://aa.wikipedia.org/wiki/${title}
ab=http://ab.wikipedia.org/wiki/${title}
af=http://af.wikipedia.org/wiki/${title}
ak=http://ak.wikipedia.org/wiki/${title}
als=http://als.wikipedia.org/wiki/${title}
am=http://am.wikipedia.org/wiki/${title}
an=http://an.wikipedia.org/wiki/${title}
ang=http://ang.wikipedia.org/wiki/${title}
ar=http://ar.wikipedia.org/wiki/${title}
arc=http://arc.wikipedia.org/wiki/${title}
as=http://as.wikipedia.org/wiki/${title}
ast=http://ast.wikipedia.org/wiki/${title}
av=http://av.wikipedia.org/wiki/${title}
ay=http://ay.wikipedia.org/wiki/${title}
az=http://az.wikipedia.org/wiki/${title}
ba=http://ba.wikipedia.org/wiki/${title}
be=http://be.wikipedia.org/wiki/${title}
bg=http://bg.wikipedia.org/wiki/${title}
bh=http://bh.wikipedia.org/wiki/${title}
bi=http://bi.wikipedia.org/wiki/${title}
bm=http://bm.wikipedia.org/wiki/${title}
bn=http://bn.wikipedia.org/wiki/${title}
bo=http://bo.wikipedia.org/wiki/${title}
br=http://br.wikipedia.org/wiki/${title}
bs=http://bs.wikipedia.org/wiki/${title}
ca=http://ca.wikipedia.org/wiki/${title}
ce=http://ce.wikipedia.org/wiki/${title}
ch=http://ch.wikipedia.org/wiki/${title}
cho=http://cho.wikipedia.org/wiki/${title}
chr=http://chr.wikipedia.org/wiki/${title}
chy=http://chy.wikipedia.org/wiki/${title}
co=http://co.wikipedia.org/wiki/${title}
cr=http://cr.wikipedia.org/wiki/${title}
cs=http://cs.wikipedia.org/wiki/${title}
csb=http://csb.wikipedia.org/wiki/${title}
cv=http://cv.wikipedia.org/wiki/${title}
cy=http://cy.wikipedia.org/wiki/${title}
da=http://da.wikipedia.org/wiki/${title}
de=http://de.wikipedia.org/wiki/${title}
dv=http://dv.wikipedia.org/wiki/${title}
dz=http://dz.wikipedia.org/wiki/${title}
ee=http://ee.wikipedia.org/wiki/${title}
el=http://el.wikipedia.org/wiki/${title}
en=http://en.wikipedia.org/wiki/${title}
eo=http://eo.wikipedia.org/wiki/${title}
es=http://es.wikipedia.org/wiki/${title}
et=http://et.wikipedia.org/wiki/${title}
eu=http://eu.wikipedia.org/wiki/${title}
fa=http://fa.wikipedia.org/wiki/${title}
ff=http://ff.wikipedia.org/wiki/${title}
fi=http://fi.wikipedia.org/wiki/${title}
fj=http://fj.wikipedia.org/wiki/${title}
fo=http://fo.wikipedia.org/wiki/${title}
fr=http://fr.wikipedia.org/wiki/${title}
fy=http://fy.wikipedia.org/wiki/${title}
fur=http://fur.wikipedia.org/wiki/${title}
ga=http://ga.wikipedia.org/wiki/${title}
gd=http://gd.wikipedia.org/wiki/${title}
gl=http://gl.wikipedia.org/wiki/${title}
gn=http://gn.wikipedia.org/wiki/${title}
got=http://got.wikipedia.org/wiki/${title}
gu=http://gu.wikipedia.org/wiki/${title}
gv=http://gv.wikipedia.org/wiki/${title}
ha=http://ha.wikipedia.org/wiki/${title}
haw=http://haw.wikipedia.org/wiki/${title}
he=http://he.wikipedia.org/wiki/${title}
hi=http://hi.wikipedia.org/wiki/${title}
ho=http://ho.wikipedia.org/wiki/${title}
hr=http://hr.wikipedia.org/wiki/${title}
ht=http://ht.wikipedia.org/wiki/${title}
hu=http://hu.wikipedia.org/wiki/${title}
hy=http://hy.wikipedia.org/wiki/${title}
hz=http://hz.wikipedia.org/wiki/${title}
ia=http://ia.wikipedia.org/wiki/${title}
id=http://id.wikipedia.org/wiki/${title}
ie=http://ie.wikipedia.org/wiki/${title}
ig=http://ig.wikipedia.org/wiki/${title}
ii=http://ii.wikipedia.org/wiki/${title}
ik=http://ik.wikipedia.org/wiki/${title}
io=http://io.wikipedia.org/wiki/${title}
is=http://is.wikipedia.org/wiki/${title}
it=http://it.wikipedia.org/wiki/${title}
iu=http://iu.wikipedia.org/wiki/${title}
ja=http://ja.wikipedia.org/wiki/${title}
jbo=http://jbo.wikipedia.org/wiki/${title}
jv=http://jv.wikipedia.org/wiki/${title}
ka=http://ka.wikipedia.org/wiki/${title}
kg=http://kg.wikipedia.org/wiki/${title}
ki=http://ki.wikipedia.org/wiki/${title}
kj=http://kj.wikipedia.org/wiki/${title}
kk=http://kk.wikipedia.org/wiki/${title}
kl=http://kl.wikipedia.org/wiki/${title}
km=http://km.wikipedia.org/wiki/${title}
kn=http://kn.wikipedia.org/wiki/${title}
ko=http://ko.wikipedia.org/wiki/${title}
kr=http://kr.wikipedia.org/wiki/${title}
ks=http://ks.wikipedia.org/wiki/${title}
ku=http://ku.wikipedia.org/wiki/${title}
kv=http://kv.wikipedia.org/wiki/${title}
kw=http://kw.wikipedia.org/wiki/${title}
ky=http://ky.wikipedia.org/wiki/${title}
la=http://la.wikipedia.org/wiki/${title}
lb=http://lb.wikipedia.org/wiki/${title}
lg=http://lg.wikipedia.org/wiki/${title}
li=http://li.wikipedia.org/wiki/${title}
ln=http://ln.wikipedia.org/wiki/${title}
lo=http://lo.wikipedia.org/wiki/${title}
lt=http://lt.wikipedia.org/wiki/${title}
lv=http://lv.wikipedia.org/wiki/${title}
mg=http://mg.wikipedia.org/wiki/${title}
mh=http://mh.wikipedia.org/wiki/${title}
mi=http://mi.wikipedia.org/wiki/${title}
mk=http://mk.wikipedia.org/wiki/${title}
ml=http://ml.wikipedia.org/wiki/${title}
mn=http://mn.wikipedia.org/wiki/${title}
mo=http://mo.wikipedia.org/wiki/${title}
mr=http://mr.wikipedia.org/wiki/${title}
ms=http://ms.wikipedia.org/wiki/${title}
mt=http://mt.wikipedia.org/wiki/${title}
mus=http://mus.wikipedia.org/wiki/${title}
my=http://my.wikipedia.org/wiki/${title}
na=http://na.wikipedia.org/wiki/${title}
nah=http://nah.wikipedia.org/wiki/${title}
nb=http://nb.wikipedia.org/wiki/${title}
nds=http://nds.wikipedia.org/wiki/${title}
ne=http://ne.wikipedia.org/wiki/${title}
ng=http://ng.wikipedia.org/wiki/${title}
nl=http://nl.wikipedia.org/wiki/${title}
nn=http://nn.wikipedia.org/wiki/${title}
no=http://no.wikipedia.org/wiki/${title}
nv=http://nv.wikipedia.org/wiki/${title}
ny=http://ny.wikipedia.org/wiki/${title}
oc=http://oc.wikipedia.org/wiki/${title}
om=http://om.wikipedia.org/wiki/${title}
or=http://or.wikipedia.org/wiki/${title}
pa=http://pa.wikipedia.org/wiki/${title}
pi=http://pi.wikipedia.org/wiki/${title}
pl=http://pl.wikipedia.org/wiki/${title}
ps=http://ps.wikipedia.org/wiki/${title}
pt=http://pt.wikipedia.org/wiki/${title}
qu=http://qu.wikipedia.org/wiki/${title}
rm=http://rm.wikipedia.org/wiki/${title}
rn=http://rn.wikipedia.org/wiki/${title}
ro=http://ro.wikipedia.org/wiki/${title}
roa-rup=http://roa-rup.wikipedia.org/wiki/${title}
ru=http://ru.wikipedia.org/wiki/${title}
rw=http://rw.wikipedia.org/wiki/${title}
sa=http://sa.wikipedia.org/wiki/${title}
sc=http://sc.wikipedia.org/wiki/${title}
scn=http://scn.wikipedia.org/wiki/${title}
sd=http://sd.wikipedia.org/wiki/${title}
se=http://se.wikipedia.org/wiki/${title}
sg=http://sg.wikipedia.org/wiki/${title}
sh=http://sh.wikipedia.org/wiki/${title}
si=http://si.wikipedia.org/wiki/${title}
simple=http://simple.wikipedia.org/wiki/${title}
sk=http://sk.wikipedia.org/wiki/${title}
sl=http://sl.wikipedia.org/wiki/${title}
sm=http://sm.wikipedia.org/wiki/${title}
sn=http://sn.wikipedia.org/wiki/${title}
so=http://so.wikipedia.org/wiki/${title}
sq=http://sq.wikipedia.org/wiki/${title}
sr=http://sr.wikipedia.org/wiki/${title}
ss=http://ss.wikipedia.org/wiki/${title}
st=http://st.wikipedia.org/wiki/${title}
su=http://su.wikipedia.org/wiki/${title}
sv=http://sv.wikipedia.org/wiki/${title}
sw=http://sw.wikipedia.org/wiki/${title}
ta=http://ta.wikipedia.org/wiki/${title}
te=http://te.wikipedia.org/wiki/${title}
tg=http://tg.wikipedia.org/wiki/${title}
th=http://th.wikipedia.org/wiki/${title}
ti=http://ti.wikipedia.org/wiki/${title}
tk=http://tk.wikipedia.org/wiki/${title}
tl=http://tl.wikipedia.org/wiki/${title}
tlh=http://tlh.wikipedia.org/wiki/${title}
tn=http://tn.wikipedia.org/wiki/${title}
to=http://to.wikipedia.org/wiki/${title}
tokipona=http://tokipona.wikipedia.org/wiki/${title}
tpi=http://tpi.wikipedia.org/wiki/${title}
tr=http://tr.wikipedia.org/wiki/${title}
ts=http://ts.wikipedia.org/wiki/${title}
tt=http://tt.wikipedia.org/wiki/${title}
tum=http://tum.wikipedia.org/wiki/${title}
tw=http://tw.wikipedia.org/wiki/${title}
ty=http://ty.wikipedia.org/wiki/${title}
ug=http://ug.wikipedia.org/wiki/${title}
uk=http://uk.wikipedia.org/wiki/${title}
ur=http://ur.wikipedia.org/wiki/${title}
uz=http://uz.wikipedia.org/wiki/${title}
ve=http://ve.wikipedia.org/wiki/${title}
vi=http://vi.wikipedia.org/wiki/${title}
vo=http://vo.wikipedia.org/wiki/${title}
wa=http://wa.wikipedia.org/wiki/${title}
wo=http://wo.wikipedia.org/wiki/${title}
xh=http://xh.wikipedia.org/wiki/${title}
yi=http://yi.wikipedia.org/wiki/${title}
yo=http://yo.wikipedia.org/wiki/${title}
za=http://za.wikipedia.org/wiki/${title}
zh=http://zh.wikipedia.org/wiki/${title}
zh-min-nan=http://zh-min-nan.wikipedia.org/wiki/${title}
zu=http://zu.wikipedia.org/wiki/${title}
zh-cn=http://zh.wikipedia.org/wiki/${title}
zh-tw=http://zh.wikipedia.org/wiki/${title}
minnan=http://zh-min-nan.wikipedia.org/wiki/${title}
zh-cfr=http://zh-min-nan.wikipedia.org/wiki/${title}
dk=http://da.wikipedia.org/wiki/${title}
w=http://en.wikipedia.org/wiki/${title}
m=http://meta.wikimedia.org/wiki/${title}
meta=http://meta.wikimedia.org/wiki/${title}
sep11=http://sep11.wikipedia.org/wiki/${title}
os=http://os.wikipedia.org/wiki/${title}
Posted by axelclk
( Oct 15 2006, 06:41:23 PM CEST )
Permalink
Comments [0]
Wiki rendering engine test blog
An example text for the Wikipedia rendering engine used in this blog (copied from Wikipedias Help:Editing page)
| What it looks like | What you type |
|---|---|
| You can italicize text by putting 2 apostrophes on each side. 3 apostrophes will bold the text. 5 apostrophes will bold and italicize the text. (4 apostrophes don't do anything special -- there's just 'one left over'.) | You can ''italicize text'' by putting 2 apostrophes on each side. 3 apostrophes will bold '''the text'''. 5 apostrophes will bold and italicize '''''the text'''''. (4 apostrophes don't do anything special -- there's just ''''one left over''''.) |
| You should "sign" your comments on talk pages: - Three tildes gives your user name: Karl Wick - Four tildes give your user name plus date/time: Karl Wick 07:46, 27 November 2005 (UTC) - Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) | You should "sign" your comments on talk pages: <br> - Three tildes gives your user name: ~~~ <br> - Four tildes give your user name plus date/time: ~~~~ <br> - Five tildes gives the date/time alone: ~~~~~ <br> |
Section headings
Headings organize your writing into sections.
The Wiki software can automatically generate
a table of contents from them.
Subsection
Using more equals signs creates a subsection.
A smaller subsection
Don't skip levels, like from two to four equals signs.
Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. | == Section headings == ''Headings'' organize your writing into sections. The Wiki software can automatically generate a table of contents from them. === Subsection === Using more equals signs creates a subsection. ==== A smaller subsection ==== Don't skip levels, like from two to four equals signs. Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. |
| * ''Unordered lists'' are easy to do: ** Start every line with a star. *** More stars indicate a deeper level. *: Previous item continues. ** A new line * in a list marks the end of the list. * Of course you can start again. |
| # ''Numbered lists'' are: ## Very organized ## Easy to follow A new line marks the end of the list. # New numbering starts with 1. |
| Here's a link to a page named Official position. You can even say official positions and the link will show up correctly. | Here's a link to a page named [[Official position]]. You can even say [[official position]]s and the link will show up correctly. |
| The weather in Moscow is a page that doesn't exist yet. You could create it by clicking on the link. | [[The weather in Moscow]] is a page that doesn't exist yet. You could create it by clicking on the link. |
| You can link to a page section by its title: If multiple sections have the same title, add a number. goes to the third section named "Example section". | You can link to a page section by its title: *[[List of cities by country#Morocco]]. If multiple sections have the same title, add a number. [[#Example section 3]] goes to the third section named "Example section". |
Creating del.icio.us tag cloud
How to show a del.icio.us tag cloud in the groovy-news blog?
basic theme to a custom theme.
Weblog template and change the axelclk handle:
<h2>del.icio.us Tag Cloud</h2> <div class="sidebar"> <script type="text/javascript" src="http://del.icio.us/feeds/js/tags/axelclk?size=12-35;color=999999-333333"></script> <br/> </div>Posted by axelclk ( Aug 21 2006, 09:06:33 PM CEST ) Permalink Comments [0]
I inserted the following macro in the _day template of the basic theme. Through this macro every blog entry has now tag links for del.icio.us, digg, dzone, simpy, technorati and slashdot.
#macro ( entryButtons $entry )
#set ( $IMAGES = "http://www.groovy-news.org/e/images" )
#set ( $entryURL = "$absBaseURL/page/$userName?entry=$entry.anchor" )
#set ( $catname = $entry.Category.Name )
<div class="ta-entry-footer">
Like this post?
<a href="http://del.icio.us/post?url=$entryURL;title=$entry.title">
<img src="$IMAGES/delicious.gif" title="Post to de.licio.us">tag it</a>
<a href="http://digg.com/submit?phase=2&url=$entryURL&title=$entry.title">
<img src="$IMAGES/digman.gif" title="Digg this entry">digg it</a>
<a href="http://www.dzone.com/links/add.html?url=$entryURL&title=$entry.title">
<img src="$IMAGES/dzone.gif" title="Add to dzone">add to dzone</a>
<a href="http://simpy.com/simpy/LinkAdd.do?title=$entry.title&href=$entryURL">
<img src="$IMAGES/simpy-icon-16x16.png" title="Save to Simpy">simpy this</a>
<a href="http://technorati.com/search/$entryURL">
<img src="$IMAGES/technorati-16x16.png" title="Technorati">technorati</a>
<a href="http://slashdot.org/bookmark.pl?&url=$entryURL">
<img src="$IMAGES/slashdot-13x13.png" title="Slashdot">slashdot</a>
</div>
#end
Simply call this macro in the foreach loop:
#foreach( $entry in $entries ) <p> ... #entryButtons( $entry ) </p> #endPosted by axelclk ( Aug 21 2006, 08:50:11 PM CEST ) Permalink Comments [0]