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.


The Drought

Cover for The Drought


Clear­ly in­spired by Stephen King, spe­cial­ly "It", in­clud­ing an echo of that part ev­ery­one hates/loves.

In fac­t, if Stephen King was dead, I would sus­pect this was writ­ten dur­ing a séance. Not bad though!

Siempre que pasa un tren.

Es­cu­chan­do "Mi Gin To­ni­c" de Ca­la­ma­ro con mi se­ño­ra, es­cu­cha­mos "Hay un de­seo que pi­do siem­pre que pa­sa un tren". Me río, di­go "E­se ver­so es una pan­che­za", y ella me acla­ra que cuan­do es­tás en un puen­te y pa­sa el tren, hay que pe­dir un de­seo.

Ja­más ha­bía oí­do ha­blar de esa su­pers­ti­ció­n, y en­ton­ces cai­go: es por­que en San­ta Fe nun­ca pa­sa el tren. Es­to me abre la puer­ta a in­ven­tar su­pers­ti­cio­nes hi­per­lo­ca­le­s, co­mo "cuan­do te mea una ca­tan­ga in­di­ca fu­tu­ro in­for­tu­nio en el amo­r", o "el pa­so del ca­ma­lo­te pre­di­ce el cli­ma". O, co­mo de­cía mi vie­ja, "si cru­zan los si­ri­rís, vie­ne tor­men­ta".

Los de­jo con Ca­la­ma­ro:

Feature del almuerzo en Nikola: Importador de Blogger

Hoy al me­dio­día, hi­ce un im­por­ta­dor pa­ra blogs de blo­gger (pue­de ser que tam­bién blo­gpos­t? Pa­re­cen ser lo mis­mo) en Niko­la mi mo­tor de si­tios y blogs es­tá­ti­co­s.

¿Qué funciona?

Bue­no, el úni­co si­tio que tra­té fun­cio­na, pa­re­ce.

  • Po­s­­ts

  • Pa­­ges

  • Tags

  • Dra­­fts

  • Blog Me­­ta­­da­­ta (s­a­l­­vo len­­gua­­je)

  • Re­­di­­re­c­­ts pa­­ra man­­te­­ner las URLs es­­ta­­bles (¡­­lo in­­ten­­ta!)

  • Rees­­cri­­tu­­ra de URLs en los po­s­­ts (¡­­tra­­ta!)

¿Qué falta?
  • Im­­po­r­­tar co­­­men­­ta­­rios (tie­­ne mas sen­­ti­­do im­­po­r­­ta­r­­los via Dis­­qus)

  • Atta­­ch­­men­­ts (i­­má­­ge­­nes y eso)

  • Pro­­­ba­r­­lo

Es­tá mas o me­nos a la par del im­por­ta­dor de Wor­dpress, sal­vo que na­die lo usó de ver­da­d. ¡A­sí que sién­tan­se li­bres de pro­bar­lo!

(Es niko­la im­por­t_­blo­gger nom­bre_­de­l_­dum­p.­x­m­l)

Devil Said Bang (Sandman Slim, #4)

Cover for Devil Said Bang (Sandman Slim, #4)


There is hard­ly a part of poor James Stark that has not been shot, cut, set on fire, hacked of­f, or sent to live in Bur­bank.

There is no weird wom­an in Los An­ge­les he has no his­to­ry with, no kind of su­per­nat­u­ral life he has not kicked the ass of, no lame bar where he has not had a drink, no clever but tough yet deep in­side nice bar­tender he has not hit for a smoke, no re­pul­sive act he has not com­mit­ed.

You get the same thing as in the oth­er three book­s. Ex­tra noir di­a­logue, smar­tass­ness, a clever phrase here and there, blood and gut­s.

The schtick is grow­ing stale.

Contents © 2000-2023 Roberto Alsina