Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Nikola 5.2 released!

I am th­ri­lled to an­noun­ce that you can now do­wn­load Niko­la 5.2. a new ver­sion of my sta­tic blo­g/­si­te ge­ne­ra­to­r.

Wha­t's new in this ver­sio­n? A LOT. Do­n't let the mi­nor ver­sion ti­ck fool you, this ver­sion is pa­cked wi­th good­ness. Le­t's start wi­th fea­tu­res:

You can ea­si­ly em­bed mo­re con­ten­t:

  • New vi­­meo di­­re­c­­ti­­ve for res­­tru­c­­tu­­red tex­­t.

  • Cus­­tom "gis­­t" di­­re­c­­ti­­ve pro­­­vi­­ding reS­­tru­c­­tu­­red text su­­pport for Gi­­tHub gis­­ts.

You can wri­te your con­tent in al­most any ma­rku­p:

  • Tex­­ti­­le ma­­rkup su­­ppo­r­­t.

  • Creo­­­le Wiki ma­­rkup su­­ppo­r­­t.

  • tx­­t2­­tags ma­­rkup su­­ppo­r­­t.

  • bb­­co­­­de ma­­rkup su­­ppo­r­­t.

  • And of cou­r­se, it sti­­ll su­­ppo­r­­ts reS­­tru­c­­tu­­red tex­­t, Ma­­rk­­do­­wn and HT­­M­­L.

Mo­re lan­gua­ges:

  • New Ca­­ta­­lá tran­s­­la­­tion

  • New po­­­lish tran­s­­la­­tio­­n.

  • New Si­m­­pli­­fied Chi­­ne­­se tran­s­­la­­tio­­n.

  • Use mu­l­­ti­­li­n­­gual Dis­­qus (a­l­­thou­­gh it does­n't seem to wo­­­rk)

You can im­port your da­ta:

  • New Blo­­­gge­­r/­­Blogs­­pot im­­po­r­­ter

  • Mu­­ch im­­pro­­­ved Wo­r­­dpress im­­po­r­­ter

  • Ex­­tract me­­ta­­da­­ta from fi­­le­­na­­me by using re­­gexp (he­l­­pful for im­­po­r­­ting from oc­­to­­­press or other sys­­te­­ms).

You can do fan­cier and mo­re con­fi­gu­ra­ble si­tes:

  • One-­­pa­­ge, dy­­na­­mi­­c-­­loadi­n­­g, clien­­t-­­ren­­de­­red si­­te plu­­gin (ta­sk_­­mus­­ta­­che)

  • Re­­cu­r­­si­­ve po­s­­t/s­­to­­­ry fo­l­­ders

  • New CO­­­M­­MEN­­TS_I­N_­­GA­­LLE­­RIES and CO­­­M­­MEN­­TS_I­N_S­­TO­­­RIES op­­tio­n­s.

  • Lo­­­cal sea­r­­ch ba­s­ed on Ti­­pue (ex­­tra_­­plu­­gi­n­s/­­ta­sk_­­lo­­­ca­l­­sea­r­­ch)

  • Added co­­­m­­men­­ts to ima­­ge ga­­lle­­ries

  • New op­­tion RSS_­­TEA­­SERS

  • New STO­­­R­­Y_I­N­­DEX op­­tion to ge­­ne­­ra­­te in­­dex.h­t­­ml in sto­­­ry fo­l­­de­r­s.

  • Add multi si­­ze fa­­vi­­con su­­ppo­r­­t.

You can use Py­thon 2.6 or hi­gher ... in­clu­ding Py­thon 3. The on­ly mis­sing bit for fu­ll Py­thon 3 su­pport is Google site­map ge­ne­ra­tio­n.

And of cour­se, a lot of bugs got smas­he­d:

  • Added sa­­ne de­­fau­l­­ts for most op­­tio­n­s, so you can ha­­ve a lean co­n­­fig fi­­le.

  • Ma­­de la­­yout of the si­­te the­­me res­­po­n­­si­­ve, wi­­th co­­­lla­p­­sing na­­v­­ba­­r.

  • Use ti­­me­­li­­ne in­s­­tead of pa­r­­sing po­s­­t_­­pa­­ges in ge­­ne­­ri­­c_­­pa­­ge_­­ren­­de­­rer and ta­sk_­­ren­­de­­r_­­pa­­ges.

  • Up­­dated dis­­qus in­­te­­gra­­tion co­­­de, added iden­­ti­­fiers so it wo­­­rks on any UR­­L.

  • Make su­­re fo­l­­der li­nks end in "/" in the ga­­lle­­ry co­­­de.

  • Re­­mo­­­ved co­­­py of Py­R­SS2­­Gen, ma­­de it a de­­pen­­den­­c­­y.

  • De­­tect "na­­me­s­­pa­­ce" de­­pen­­den­­cies for Mako te­m­­pla­­tes.

  • Use co­n­­sis­­tent en­­co­­­dings in RSS fee­­d­s.

  • Re­­fa­c­­to­­­red dis­­qus co­­­de in­­to se­­pa­­ra­­te he­l­­pers

  • Use the co­­­rrect ex­­ten­­sion (or rai­­se an erro­­­r) on new_­­post

  • Fix ti­­tles that in­­clu­­de quo­­­tes

  • Up­­dated to cu­­rrent CSS from do­­­cu­­tils (was using ve­r­­sion from 2005)

  • Avoid nee­­d­­le­ss re­­ge­­ne­­ra­­tion of ga­­lle­­ry in­­dexes.

  • Alwa­­ys en­­su­­re the fo­l­­der for the new post exis­­ts.

  • Get ti­­tle from fi­­le­­na­­me if not avai­­la­­ble in me­­ta­­da­­ta.

  • Do­­n't co­­­py sou­r­­ces if they end in ".h­t­­m­­l"

  • Do­­n't li­nk to une­­xis­­ting tran­s­­la­­tio­n­s.

  • Sort tags ca­­se in­sen­­si­­ti­­ve.


Contents © 2000-2024 Roberto Alsina