dodo0

From twext

(Redirected from dod0)
Jump to: navigation, search

dodo version numbering schema

phase one: dodo0 -> dodo9
phase two: dodo10 -> dodo99
phase 333: etc

dodo versioning non-analogous to 0.n numbering

..TITLE..TEXTLANG.twxtlang..timestamp..version..
..DODO0.SPEC..ENGLISH.espanol..080529.200958..dodo0..

..dodo0.. needs only to do very simple things:

1. add timestamp to title: ..TITLE..TEXT.twxt..timestamp..version..
2. add N spaces to make TEXT twxt dodo xcroll input column

TEXT       twxt
--------+-----------
here is    aqui esta
the text   el texto 
        -->
there is   alli'ta
twext      la traducion
           include N spaces on empty lines
           so i can arrow up/down twxt column
ok         bien
3. SAVE in /twext/ folder
* above is the single point of truth (directly humanly editable source)
* if a title is updated, then save versions in same /twext/ folder
..variable.title.first.and.then..textlang.twxtlang..variable.timestamp..001.version..
..variable.title.first.and.then..textlang.twxtlang..v4ri4bl3.tim3st4mp..001.version..
4. READ or BROWSE the data with twexter controls

http://test.twext.com/simple ui for dodo xcroll flat (text) data

our goal is most basic twexter data most easily used by anyone anywhere on more and more machines.. for now if it's easiest, save in the cloud (server side)


dodo ain't rocket science, it's easy to try

a good programmer who wants to do ..dodo0.. can do it in minutes.. or it could take months..


if it's example text, solution maybe simple for now change example text to something like

paste in          inserir
lyrics            letra
                  
to spanish song   a cancion en espanol
                   
                  
click             presiona
twext me          twexteame

edit,             edit
then              entonces
save              ahorrar

ascii preview will later appear as

P A S T E   I N   L Y R I C S
inserir           letra

T O   S P A N I S H   S O N G
a     cancion en espanol


C L I C K   T W E X T   M E
click       twexteame

E D I T ,   T H E N   S A V E
editar      entonces  ahorrar


the only editable text is the xcroll aligned chunks like

-----------------------------------------------------------+
paste in          inserir
lyrics            letra
                  
to spanish song   a cancion en espanol
-----------------------------------------------------------+
  1. find the widest TEXT chunk
  2. add three spaces
  3. add variable n spaces to all other chunks
  4. so the twxt input is in a column
if edited, anything
=>3 spaces
or a tab
within a line gets interpreted as change from TEXT to twxt input

example

-----------------------------------------------------------+
paste in              inserir
lyrics                  letra
add text   anadir texto
more    mas

to spanish song   a cancion en espanol
-----------------------------------------------------------+

gets interpreted for dodoxcroll print as

-----------------------------------------------------------+
paste in          inserir
lyrics            letra
add text          anadir texto
more              mas
                  
to spanish song   a cancion en espanol
-----------------------------------------------------------+

or something like that


Retrieved from "http://twext.com/dodo0"
Personal tools