Cov txheej txheem:

Chumby RSS Reader: 6 Kauj Ruam
Chumby RSS Reader: 6 Kauj Ruam

Video: Chumby RSS Reader: 6 Kauj Ruam

Video: Chumby RSS Reader: 6 Kauj Ruam
Video: Sony Dash vs Chumby: More than Just Alarm Clocks 2024, Hlis ntuj nqeg
Anonim
Chumby RSS nyeem ntawv
Chumby RSS nyeem ntawv
Chumby RSS nyeem ntawv
Chumby RSS nyeem ntawv
Chumby RSS nyeem ntawv
Chumby RSS nyeem ntawv

Chumbies yog qhov txaus ntshai. RSS pub yog txaus. Vim li cas ho tsis muab ob qho los ua ke? Tsis yog, qhov txaus ntshai ob zaug yuav tsis ua rau leej twg, tiag tiag. Qhov laj thawj yog tias flash nyuaj rau cov tsis tau paub dua. Nov yog ib txoj hauv kev yooj yim los ua nrog cov ntawv tau sau tseg lawm. Kuv yuav ua qauv nrog Cov Ntawv Qhia, thiab koj yuav tsum npaj kom kho nws raws li qhov koj xav tau! Ua tsaug ewilhelm rau cov duab!

Kauj ruam 1: Xyuas kom tseeb tias koj tuaj yeem sau Flash

Nco ntsoov tias koj tuaj yeem sau Flash!
Nco ntsoov tias koj tuaj yeem sau Flash!

Yog tias koj muaj Flash tus tsim IDE (I. E. Flash MX), TSIS YOG IB TUG FLASH PLAYER, tom qab ntawd koj tau teeb tsa tag nrho. Yog tsis yog, saib ib ncig. Yog tias koj yog tub ntxhais kawm, lub tsev kawm ntawv yuav muaj nws, ib tus neeg nyob ib puag ncig ua haujlwm yuav muaj nws. Yog tias tsis yog, kuv paub tseeb tias pab pawg ntawm cov tsim flash yuav tsim hauv cov lus thiab yuav zoo siab ua nws rau koj., tab sis cov hauv paus ntsiab lus zoo ib yam.

Kauj ruam 2: Ntxiv Ib co Code

Ntxiv ib co Code!
Ntxiv ib co Code!
Ntxiv ib co Code!
Ntxiv ib co Code!

Kuv tuav tus nyeem ntawv uas nyob ntawm Chumby Wiki, thiab muaj teeb meem nrog nws. Nws nyeem cov duab los ntawm "media: content" tag, tsis txhob nrhiav cov duab hauv cov lus piav qhia. Kom tau txais qhov ntawd, Kuv tau ntxiv qee qhov chaws. Hauv Kev Ua: Ncej 1, txoj hauv qab, yuav muaj lub luag haujlwm "thauj cov yeeb yaj kiab" Hloov qhov ntawd, thiab txhua yam hauv qab nws nrog qhov no:

muaj nuj nqi GetImage (des) {var del: Array; del = des.split (& apos & apos to & aposwidth = "& apos lossis & aposhieght =" & apos yog tias hieght los ua ntej. img = des.split (& apos "/> & apos); var duab: String; image = img [0]; return (duab);} muaj nuj nqi GetDes (ddd) {// Zoo ib yam txawv, kuv twv kuv & aposm tub nkeeg:-) Tab sis nws ua haujlwm! yam = ddd.toString (); var del1: Array; del1 = thing.split (& apos.jpg "/ > & apos); var des2: Txoj hlua; des2 = del1 [1]; var img1: Array; img1 = des2.split (""); var duab 1: Txoj hlua; duab 1 = img1 [0]; return (duab 1);} proxy1._visible = cuav; muaj nuj nqi loadItem (yam khoom) {g_currentItem = yam khoom; // // sau cov kab ntawv los ntawm RSS yam khoom // title.text = item.firstValueOfType (& apostitle & apos); var piav qhia: Txoj hlua; // descripti yog cov lus piav qhia tsis tiav. descripti = item.firstValueOfType (& aposdescription & apos); description.text = GetDes (piav qhia); author.text = "los ntawm"+item.firstValueOfType (& aposauthor & apos); dateStr.text = "hloov tshiab"+item.firstValueOfType (& apospubDate & apos); var descrip: Txoj hlua; descrip = item.firstValueOfType (& aposdescription & apos); var url: Txoj hlua; url = GetImage (piav qhia); proxy.unloadMovie (); attachMovie (& aposproxy & apos, & aposproxy & apos, 1, {_x: proxy1._x, _y: proxy1._y, url: makeURL (url)})

Kauj Ruam 3: Qee Cov Cai Ntxiv

Qee Qhov Cai Ntxiv
Qee Qhov Cai Ntxiv

Tam sim no peb yuav tsum ntxiv cov cai hauv qab no los hloov koj cov duab.

onClipEvent (cov ntaub ntawv) {yog (this._width! = 80) this._width = 80; yog (this._height! = 60) this_height = 60;}Qhov no yuav tsum tau ua raws qhov kev ua piv txwv "proxy1", tsis yog tus qauv 1 ua rau lub cim "proxy" (Hauv kuv daim duab, muaj qee qhov sib txawv, sau tseg w/ photonotes) hloov cov cai kom ua tau zoo dua!

Kauj ruam 4: Cia Peb Pib

Ua ntej, peb yuav tsum xaiv peb RSS pub. Nrhiav qhov txuas rau nws, thiab theej-thiab-muab qhov txuas rau kab hauv qab no. Tom ntej no, coj lub hauv paus url (piv txwv li: https://www.instructables.com/ los ntawm https://www.instructables.com/tag/type:instructable/rss.xml) thiab ntxiv "crossdomain.xml" mus rau qhov kawg ntawm nws (Yog li nws yuav yog https://www.instructables.com/crossdomain.xml). Type uas nyob hauv Chaw Nyob Bar ntawm koj tus browser. Yog tias koj tau txais nplooj ntawv uas hais qee yam xws li:

Koj nyob zoo. Yog tias koj tau txais cov lus yuam kev, yws rau tus saib xyuas lub vev xaib, thiab hais tias lawv yuav tsum ntxiv nws kom cov flash cov ntaub ntawv tuaj yeem nkag mus rau lawv cov ntsiab lus. Muab piv txwv ntawm tus nyeem RSS nyem. Yog tias koj xav nyeem txog nws, mus ntawm no (Leej twg paub tias yuav muaj tag nrho lub xaib ntawm qhov teeb meem ???)

Kauj Ruam 5: Txheeb Xyuas Pub

Qhib RSS pub hauv koj tus browser, thiab khaws nws rau hauv daim disk. Tam sim no qhib nws nrog Notepad lossis qhov sib npaug. Txheeb nws, qhov tseem ceeb peb txhawj xeeb txog yog cov duab. Yog tias sab hauv cov lus piav qhia zoo ib yam li qhov no:

<! [CDATA [

Image
Image

DESCRIPTION]>Koj tau teem Feem ntau, tsuas yog nrhiav rau

Tshaj tawm thiab Tshaj Tawm!
Tshaj tawm thiab Tshaj Tawm!

tag thaum pib, vim tias txoj cai tam sim no txiav txhua yam tom qab nws. Yog tsis yog, thov taw tes rau qhov chaw uas tso nws nyob nruab nrab lossis qhov kawg, thiab kuv yuav zoo siab ua qhov hloov tshiab.

Kauj Ruam 6: Tshaj Tawm thiab Tshaj Tawm

Tshaj tawm thiab Tshaj Tawm!
Tshaj tawm thiab Tshaj Tawm!
Tshaj tawm thiab Tshaj Tawm!
Tshaj tawm thiab Tshaj Tawm!

Tam sim no, koj tuaj yeem ua si ib puag ncig nrog cov duab yog tias koj xav tau, tab sis TSIS TXHOB rho tawm lub thawv grey! Txawm li cas los xij, nws zoo tshaj plaws los hloov nws mus rau 80x60 square tus qauv.

Kuv ntxiv lub logo Qhia, nws yog qhov kov zoo! Tom qab ntawd koj tuaj yeem txav lub thawv ntawv ncig, hloov kho lawv kom tau txais txiaj ntsig ntawm qhov chaw. Thaum koj ua tiav, ntaus tswj+Nkag mus (ntawm Windows) txhawm rau saib koj cov yeeb yaj kiab, xyuas kom nws ua haujlwm. Yog tias nws hais tias muaj qee qhov yuam kev ruaj ntseg cia li tsis quav ntsej nws. Tam sim no ntawm Chumby qhov chaw, koj tuaj yeem tso cov cuab yeej, thiab tom qab ntawd ntxiv nws rau koj cov khoom sib xyaw. Yog tias koj xav tau, koj tuaj yeem txheeb xyuas nws yuav ua haujlwm ntawm Virtual Chumby. Thiab tsis ntev, nws yuav nyob ntawm koj tus Chumby! Nrog koj zoo siab!

Pom zoo: