Romanian Go Forum

Forumul jucatorilor romani de Go








You are not connected. Please login or register

cum introducem sgf?

4 posters

Go down  Message [Page 1 of 1]

1cum introducem sgf? Empty cum introducem sgf? Sat Dec 20, 2014 7:41 pm

Popic



Salut,

Mersi de forum Smile cum facem sa introducem sgf files? vad ca de la insert putem pune pictures sau linkuri.
Sa transformam probelemel in imagine ?

Cristian Pop

2cum introducem sgf? Empty Re: cum introducem sgf? Sat Dec 20, 2014 7:55 pm

Admin

Admin
Admin

Salut,

Verific acum o posibilitate pornind de la ce a zis Dan Cioata pe lista. Revin cu detalii

https://rogo.forumgratuit.ro

3cum introducem sgf? Empty Re: cum introducem sgf? Sat Dec 20, 2014 8:24 pm

daniel.cioata

daniel.cioata

Bai dar e super, pot sa imi modific si mesajele
Eu pot sa ma ocup aplicatia javascript pentru SGF fara probleme,
dar nu stiu daca se poate pentru forumurile astea gratuite

4cum introducem sgf? Empty Re: cum introducem sgf? Sat Dec 20, 2014 8:32 pm

Admin

Admin
Admin

https://rogo.forumgratuit.ro

5cum introducem sgf? Empty Re: cum introducem sgf? Sat Dec 20, 2014 8:42 pm

daniel.cioata

daniel.cioata

Putem sa facem un experiment , iti fac eu un mic javascript si
o sa trebuiasca sa il pui pe undeva prin sectiune <head> </head> din ce zic aia pe acolo

6cum introducem sgf? Empty Re: cum introducem sgf? Sat Dec 20, 2014 8:53 pm

Admin

Admin
Admin

Da, no problem.

Eu m-am incalcit cand am inceput sa ma gandesc cum sa interpretez in javascript ce pune user-ul in post. Asa ca astept cu maxim interes bounce

https://rogo.forumgratuit.ro

7cum introducem sgf? Empty Re: cum introducem sgf? Sat Dec 20, 2014 9:02 pm

daniel.cioata

daniel.cioata

Acusica :-), sper sa il termin azi. Super treaba ai facut cu forumul

8cum introducem sgf? Empty Re: cum introducem sgf? Sat Dec 20, 2014 10:11 pm

Admin

Admin
Admin

Multumesc, dar n-am facut mai nimic. Sunt convins ca puteau sa faca mai repede sau mai bine unii dintre noi, dar se pare ca eu am fost mai hotarat.

https://rogo.forumgratuit.ro

9cum introducem sgf? Empty Re: cum introducem sgf? Sun Dec 21, 2014 10:49 am

daniel.cioata

daniel.cioata

Din ce am experimentat se pot adauga partide/pozitii in format SGF,
o sa dureze ceva timp pana o sa reusesc sa fac aplicatia necesara.
Intre timp poate ca cineva gaseste alta solutie, una din ele ar fi sa punem imagini

10cum introducem sgf? Empty Re: cum introducem sgf? Wed Dec 24, 2014 8:10 pm

Loredana

Loredana

Buna,

Am reusit sa fac functional un player de sgf insa trebuie urmata o procedura:

Pentru cei care vor doar sa vada partidele in player:
1. In profile -> Preferences - > trebui sa va activati: Always allow HTML

Pentru cei care vor sa si posteze parcurgeti pasii urmatori:
2. Deschideti fisierul sgf intr-un editor (notepad) si copiati tot continutul.
Apoi trebuie curatat continutul sgf de ghilimele (sterse sau inlocuite cu apostroafe)

3. Textul se copiaza intr-un post nou intre urmatoarele taguri:
- la inceput:
Code:
<div style="width: 700px" data-wgo="
- la sfarsit:
Code:
"></div>

Detalii:
- tag-ul de player este < div ... fara cuvantul code
- dupa data-wgo=" nu trebuie introdus nici un enter sau alte caractere ca de exemplu spatiu. Partida trebuie sa fie pusa imediat dupa ghilimele pentru ca player-ul vrea sa vada imediat (


Daca partida nu poate fi parcursa sau playerul afiseaza o eroare ne spuneti si vedem cum putem rezolva.



Last edited by Loredana on Thu Dec 25, 2014 8:19 am; edited 2 times in total

11cum introducem sgf? Empty Re: cum introducem sgf? Wed Dec 24, 2014 8:37 pm

Popic





Last edited by Popic on Wed Dec 24, 2014 10:00 pm; edited 2 times in total

12cum introducem sgf? Empty Re: cum introducem sgf? Wed Dec 24, 2014 8:43 pm

Popic



nu pare a merge
poate am gresit pe undeva ?

13cum introducem sgf? Empty Re: cum introducem sgf? Wed Dec 24, 2014 8:56 pm

Loredana

Loredana

- trebuie fara
Code:
- doar partea care incepe cu <  div ....

14cum introducem sgf? Empty Re: cum introducem sgf? Wed Dec 24, 2014 9:52 pm

Popic



ok, acu apare tabla
dar nu pot sa dau click pe butoane, sa derulez


intre timp vad ca s-a rezolvat, si merg butoanele

15cum introducem sgf? Empty Re: cum introducem sgf? Mon Jan 05, 2015 9:11 pm

daniel.cioata

daniel.cioata

Un mic experiment


16cum introducem sgf? Empty Re: cum introducem sgf? Mon Jan 05, 2015 9:46 pm

daniel.cioata

daniel.cioata

Felicitari Loredana, chiar arata bine WGo, inca nu mi-am dat seama cum face selectia sa vada care div contine data-wgo,
banuiesc ca ia toate div-urile in parte.
Intre timp am mai experimentat ceva variante ca sa nu depindem de html/bbcode, mai am un pic de lucru si experimentam ca sa vedem cum arata.

17cum introducem sgf? Empty Re: cum introducem sgf? Tue Jan 06, 2015 3:36 pm

daniel.cioata

daniel.cioata

un test mic
[sgf-problem]
(;
KM[6.5]
EV[19th Samsung Cup final round 1]
FF[3]
SZ[19]
GM[1]
PW[Kim Jiseok]
WR[9d]
DT[2014-12-09]
BR[9d]
RE[W+R]
PB[Tang Weixing]
;B[qd];W[dp];B[pq];W[dd];B[fc];W[cf];B[kc];W[qn];B[qk];W[pp];B[qq]
;W[oq];B[or];W[nq];B[qp];W[po];B[nr];W[mq];B[pf];W[ok];B[pi];W[fp]
;B[ck];W[hc];B[db];W[ec];B[eb];W[fd];B[gc];W[gd];B[cd];W[ce];B[bd]
;W[hb];B[cn];W[oc];B[mc];W[qc];B[rc];W[rd];B[qb];W[pc];B[re];W[ne]
;B[le];W[pe];B[sd];W[of];B[pg];W[oh];B[ph];W[lg];B[mf];W[ng];B[je]
;W[jg];B[mg];W[mh];B[lh];W
[*]
;B[kh];W[kg];B[mi];W[nh];B[ki];W[nj]
;B[lj];W[ke];B[kd];W[me];B[lf];W[kf];B[ld];W[ih];B[pd];W[od];B[qe]
;W[oe];B[nb];W[jj];B[ll];W[jl];B[ln];W[nm];B[mm];W[nn];B[jm];W[il]
;B[kl];W[im];B[jn];W[co];B[bn];W[mk];B[kj];W[ci];B[bp];W[cq];B[en]
;W[ip];B[di];W[cj];B[dj];W[bk];B[dk];W[bl];B[ch];W[bh];B[bi];W[bj]
;B[bg];W[ai];B[hj];W[dm];B[dn];W[el];B[fl];W[fk];B[gl];W[em];B[fm]
;W[ek];B[gi];W[eh];B[fo];W[go];B[gp];W[gq];B[ep];W[fq];B[ei];W[gk]
;B[hk];W[fh];B[fi];W[cl];B[gn];W[ho];B[hl];W[gh];B[in];W[ij];B[bq]
;W[hi];B[gj];W[pb];B[lb];W[dh];B[mr];W[kq];B[lq];W[lp];B[lr];W[eq]
;B[cr];W[dr];B[cp];W[ko];B[hn];W[kr];B[be];W[bf];B[dc];W[ed];B[fa]
;W[id];B[jd];W[eo];B[dq];W[kn];B[km];W[fn];B[ml];W[nl];B[fo];W[ga]
;B[fb];W[cq];B[do];W[dq];B[br];W[ie];B[rl];W[ro];B[rp];W[jb];B[rb]
;W[kb];B[md];W[mn];B[jo];W[lo];B[jp];W[jq];B[ks];W[js];B[op];W[mp]
;B[pm];W[qm];B[pl];W[rm];B[pk];W[kp];B[jf];W[if];B[af];W[fn];B[jh]
;W[ig];B[fo];W[ag];B[ah];W[cg];B[la];W[fn];B[hm];W[ii];B[fo];W[bb]
;B[cb];W[fn];B[mj];W[ls];B[so];W[sn];B[qo];W[pn];B[rn];W[sm];B[ro]
;W[ms];B[oj];W[ni];B[ns];W[ks];B[ps];W[rk];B[sk];W[om];B[ql];W[ag]
;B[ae];W[bc];B[cc];W[ba];B[ac];W[ab];B[ca];W[ad];B[sl];W[gb];B[ac]
;W[oi];B[pj];W[ad];B[og];W[nf];B[ac];W[am];B[fo];W[ad];B[na];W[an]
;B[ao];W[da];B[ac];W[qr];B[pr];W[ad];B[lk];W[nk];B[ac];W[rr])
[/sgf-problem]

18cum introducem sgf? Empty Re: cum introducem sgf? Tue Jan 06, 2015 5:07 pm

Popic



arata fain si asta.
cum funcioneaza ?

19cum introducem sgf? Empty Re: cum introducem sgf? Tue Jan 06, 2015 5:13 pm

daniel.cioata

daniel.cioata

Pai faci asa, dar SGF-GAME cu litere mici eu il pun cu mari ca sa nu imi dispara :-) , numai ca se sunt probleme cu mutarile la li, tr, hr, poate si altele. Editorul asta le interpreteaza in felul lui si din cauza aia apar tot felul de chestii ciudate.
Cred ca ar trebui HTML enabled si BBCodes disabled.

[SGF-GAME]
(;FF[4]GM[1]SZ[19]AP[SGFC.16]
EV[38th Gosei title match 1]
PB[Kono Rin]
BR[9d]
PW[Iyama Yuta]
WR[Gosei]
KM[6.5]
DT[2013-07-06]
RE[B+R]

;B[pd];W[dc];B[dq];W[qp];B[ce];W[ed];B[oq];W[do];B[dl];W[eq]
;B[dp];W[ep];B[eo];W[er];B[bp];W[co];B[dr];W[dm];B[fo];W[cl]
;B[gq];W[dk];B[po];W[qo];B[pn];W[qm];B[iq];W[pm];B[om];W[ol]
;B[nm];W[nl];B[mm];W[ml];B[lm];W[qf];B[nc];W[pq];B[pp];W[qq]
;B[or];W[of];B[ll];W[qc];B[qd];W[rd];B[pc];W[rb];B[qb];W[rc]
;B[kc];W[cd];B[oh];W[lk];B[qh];W[pg];B[pl];W[rl];B[mk];W[pk]
;B[ok];W[ql];B[nk];W[pl];B[ni];W[lj];B[nf];W[kd];B[jc];W[ng]
[*];W[md];B[mc];W[jj];B[ki];W[jk];B[og];W[hp];B[ho];W[io]
;B[go];W[ih];B[oe];W[pf];B[ph];W[rg];B[mg];W[in];B[kp];W[mf]
;B[ne];W[lg];B[mh];W[cp];B[cq];W[bo];B[bq];W[he];B[ci];W[cg]
;B[bd];W[bc];B[dg];W[df];B[el];W[cj];B[fk];W[di];B[hk];W[gl]
;B[em];W[gk];B[cm];W[bm];B[gj];W[hl];B[ei];W[dh];B[hj];W[ik]
;B[dn];W[kn];B[bl];W[ck];B[bn];W[lo];B[lp];W[mo];B[np];W[hc]
;B[jl];W[jm];B[kl];W[il];B[gh];W[ji];B[if];W[ie];B[hm];W[hn]
;B[gm];W[fm];B[gn];W[im];B[hb];W[no];B[on];W[gb];B[hg];W[jf]
;B[je];W[ig];B[hf];W[jd];B[jg];W[ke];B[kh];W[jq];B[jp];W[ip]
;B[ir])
[/SGF-GAME]

[SGF-PROBLEM]
(;FF[4]GM[1]SZ[19]AP[SGFC.16]AB[rq][qq][qo][pp][op][np][mp] [lp][kp][jp][jq][jr][js][os][nq]AW[ls][ks][kr][kq][lq][mq][nr] [oq][pq][pr] (;B[ns];W[mr];B[ps]) (;B[mr];W[ns];B[ps];W[qr]) (;B[ps];W[ns]))
[/SGF-PROBLEM]

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum