XML-hírcsatorna létrehozása

Készítsen saját RSS-hírcsatornát ezzel az XML útmutatóval

A Really Simple Syndication ( RSS ) mind a szakemberek, mind az újoncok számára lehetővé teszi a webhelyüket. Bár az RSS-hírcsatornát csak hírügynökségeknél könnyedén társítani, az igazság az, hogy az RSS működik minden olyan webhelyen, amely folyamatosan módosítja vagy új tartalmat ad hozzá.

Az RSS-t használó alkalmazások az XML-struktúrát használják adatszolgáltatást nyújtani. Olyan XML-dokumentum létrehozása, amely az RSS-hírcsatornán keresztül elősegíti a blogodat vagy az oldalakat, az, amit bárki, aki az XML alapvető megértése képes.

Az elemek beállítása

Néhány elem az RSS-hírcsatornához szabványos:

Például, ha olyan RSS-hírcsatornát szeretne létrehozni, amely kiemelte a webes megjelenítési tartalmat webhelyén, olyan elemekre lenne szüksége, mint például:

XML cikkek [az Ön weboldaláról] </ title> <leírás> Izgalmas új ajánlatok az XML világából és [az Ön weboldaláról] </ description> <link> http://yourwebsite.com/xml-articles.htm </ link> <h3> Elemcímke </h3><p> Az RSS bizonyos elemeket használ, hogy megkülönböztesse magát. Egy bejegyzés az <item> címke, amelyet a jelen példában az alábbiak szerint használunk: </p> <item> <title> XML cikkek az Ön weboldaláról </ title> <leírás> Izgalmas új ajánlatok az XML világából és [az Ön weboldaláról] </ description> <link> http://yourwebsite.com/xml- articles.htm </ link> </ item> <p> Az elemek a <item> címkén lévő feed-fészekben felsorolt ​​minden oldalhoz. Az RSS lehetővé teszi, hogy egyszerre több tartalomoldalt mutasson be egy új "elem" készítéssel, például: </p> <item> <title> XML cikkek a [weboldaladból] </ title> <leírás> Izgalmas új ajánlatok az XML és a [weboldal] világából </ description> <link> http://youwebsite.com/xml- articles.htm </ link> </ item> <item> <title> Web Design / HTML a [weboldaladon] </ title> <leírás> Naprakészen tartja a webdesign minden tippjét és trükköjét a webhelyén .com </ description> <link> http://yourwebsite.com/ </ link> </ item> <h3> Csatorna-címke </h3><p> Az RSS-olvasónak vagy hírösszefoglalónak rövid idő alatt sok információt kell törölnie. A feladat végrehajtásához a fájlokat csatornákra különítik el. Csakúgy, mint a TV-csatornákon, ez a címke elosztja az egyes feedeket. </p> <p> A csatornákat a nyitó címkével és a záró címkével lehet végrehajtani. Használja őket a címke megtartására az alábbiak szerint: </p> <csatorna> <item> <title> XML cikkek [weboldaláról] </ title> <leírás> Izgalmas új ajánlatok az XML világából és [az Ön weboldaláról] </ description> <link> http://youwebsite.com /xml-articles.htm </ link> </ item> <item> <title> Web Design / HTML a [weboldaladon] </ title> <leírás> Naprakészen tartja a webes tippeket és trükköket a design az yourwebsite.com webhelyen </ description> <link> http://yourwebsite.com/ </ link> </ item> </ channel> <h3> XML nyilatkozat és RSS verzió </h3><p> Minden XML dokumentumnak rendelkeznie kell nyitó deklarációs nyilatkozattal: </p> <? xml version = "1.0"?> <p> Ezenkívül az RSS-hírcsatornához létrehozott XML-nek gyökér elemként <rss> kell lennie, és felsorolja a verziót (az alábbi példában "2.0" -t használunk). Tekintse át az RSS olvasó által biztosított dokumentációt, és használja a webhely által kért verziót. </p> <rss version = "2.0"> </ rss> <p> Az XML-kód kitöltése után mentse el a dokumentumot az .XML fájlkiterjesztés használatával, és töltse fel az Ön által kiválasztott összesítőbe. </p> <p> Íme egy példa arra, hogy minta-RSS-hírcsatornánk hogyan néz ki: </p> XML-cikkek [az Ön weboldaláról] </ title> <leírás> Izgalmas új ajánlatok az XML világából és [Weboldalad] </ description> <link> http://youwebsite.com/xml-articles.htm </ link> </ item> <item> <title> Webdesign / HTML a [webhelyén] </ title > <leírás> Tartsa naprakészen a webdesign minden tippjeit és trükköket az yourwebsite.com webhelyen </ description> <link> http://yourwebsite.com/ </ link> </ item> </ channel> </ rss> </div> <div class="amp-related-wrapper"> <h2>Alike posts</h2> <div class="amp-related-content"> <a href="https://hu.eyewated.com/tippek-a-megfelelo-web-design-koenyv-kivalasztasahoz/"> <amp-img src="https://exse.eyewated.com/pict/1a9a0877468d31b1-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/tippek-a-megfelelo-web-design-koenyv-kivalasztasahoz/">Tippek a megfelelő web design könyv kiválasztásához</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/20-olcso-ssl-tanusitvany-es-ajanlas/"> <amp-img src="https://exse.eyewated.com/pict/c366d727d6702e80-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/20-olcso-ssl-tanusitvany-es-ajanlas/">20 olcsó SSL tanúsítvány és ajánlás</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/hogyan-valtoztathato-meg-a-tablazat-hatterszine/"> <amp-img src="https://exse.eyewated.com/pict/d55f6c6210a33086-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/hogyan-valtoztathato-meg-a-tablazat-hatterszine/">Hogyan változtatható meg a táblázat háttérszíne</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/a-legjobb-windows-webes-szerkesztok-kezdoknek/"> <amp-img src="https://exse.eyewated.com/pict/cfd031606b953699-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/a-legjobb-windows-webes-szerkesztok-kezdoknek/">A legjobb Windows webes szerkesztők kezdőknek</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/hasznalja-a-htaccess-jelszavat-a-weboldalak-es-a-fajlok-vedelme-erdekeben/"> <amp-img src="https://exse.eyewated.com/pict/a1e6985e2a00333d-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/hasznalja-a-htaccess-jelszavat-a-weboldalak-es-a-fajlok-vedelme-erdekeben/">Használja a Htaccess jelszavát a weboldalak és a fájlok védelme érdekében</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> <div class="amp-related-content"> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/img-cimke-attributumok/">IMG címke attribútumok</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/tippek-a-kepi-terkep-letrehozasahoz-dreamweaverrel/"> <amp-img src="https://exse.eyewated.com/pict/c4712c96e8cf38d4-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/tippek-a-kepi-terkep-letrehozasahoz-dreamweaverrel/">Tippek a képi térkép létrehozásához Dreamweaverrel</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/hogyan-fonja-be-a-szoeveget-egy-kep-koeruel/"> <amp-img src="https://exse.eyewated.com/pict/5253b90fd0763a8e-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/hogyan-fonja-be-a-szoeveget-egy-kep-koeruel/">Hogyan fonja be a szöveget egy kép körül</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/a-viewbox-attributum-megertese-az-svg-ben/"> <amp-img src="https://exse.eyewated.com/pict/d75b257fda823445-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/a-viewbox-attributum-megertese-az-svg-ben/">A Viewbox attribútum megértése az SVG-ben</a></h3> <div class="amp-related-meta"> Web Design & Dev </div> </div> </div> </div> <div class="amp-related-wrapper"> <h2>See Newest</h2> <div class="amp-related-content"> <a href="https://hu.eyewated.com/google-chrome-biztonsag/"> <amp-img src="https://exse.eyewated.com/pict/7bfebdcdfdb72fdf-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/google-chrome-biztonsag/">Google Chrome biztonság</a></h3> <div class="amp-related-meta"> Web & Keresés </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/dynavox-maestro-beszedkeszito-eszkoez/"> <amp-img src="https://exse.eyewated.com/pict/e775cf7765bb33d3-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/dynavox-maestro-beszedkeszito-eszkoez/">Dynavox Maestro beszédkészítő eszköz</a></h3> <div class="amp-related-meta"> Web & Keresés </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/ijeszto-psp-horror-jatekok-halloween/"> <amp-img src="https://exse.eyewated.com/pict/440d7266d33132b8-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/ijeszto-psp-horror-jatekok-halloween/">Ijesztő PSP horror játékok halloween</a></h3> <div class="amp-related-meta"> Útmutatók vásárlása </div> </div> </div> <div class="amp-related-content"> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/jogos-e-eladni-egy-twitter-fiokot/">Jogos-e eladni egy Twitter-fiókot?</a></h3> <div class="amp-related-meta"> Közösségi média </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/vilagoskek-szinek/"> <amp-img src="https://exse.eyewated.com/pict/6dd51c4f0ca232f7-120x86.png" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/vilagoskek-szinek/">Világoskék színek</a></h3> <div class="amp-related-meta"> Szoftver </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/a-baba-monitorja-le-van-csapva/"> <amp-img src="https://exse.eyewated.com/pict/fa573bf7d8f737ff-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/a-baba-monitorja-le-van-csapva/">A baba monitorja le van csapva?</a></h3> <div class="amp-related-meta"> Web & Keresés </div> </div> </div> </div> <div class="amp-related-wrapper"> <h2>Sapid posts</h2> <div class="amp-related-content"> <a href="https://hu.eyewated.com/bioshock-ultimate-rapture-edition-xbox-360/"> <amp-img src="https://exse.eyewated.com/pict/dcc2a3710bd033cc-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/bioshock-ultimate-rapture-edition-xbox-360/">BioShock: Ultimate Rapture Edition Xbox 360</a></h3> <div class="amp-related-meta"> Szerencsejáték </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/hot-air-rework-station-hasznalata-pcb-javitashoz/"> <amp-img src="https://exse.eyewated.com/pict/868c33a1a0c45391-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/hot-air-rework-station-hasznalata-pcb-javitashoz/">Hot Air Rework Station használata PCB javításhoz</a></h3> <div class="amp-related-meta"> Ablakok </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/a-google-naptar-ical-sync-beallitasa/"> <amp-img src="https://exse.eyewated.com/pict/d78515dcea622f9e-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/a-google-naptar-ical-sync-beallitasa/">A Google Naptár iCal Sync beállítása</a></h3> <div class="amp-related-meta"> E-mail és üzenetküldés </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/mi-az-xspf-fajl/"> <amp-img src="https://exse.eyewated.com/pict/88a1221b32a131d7-120x86.png" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/mi-az-xspf-fajl/">Mi az XSPF fájl?</a></h3> <div class="amp-related-meta"> Ablakok </div> </div> </div> <div class="amp-related-content"> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/tekken-5-csalasok-kodok-gyik-es-tanacsok-a-ps2-hez/">Tekken 5 Csalások kódok GYIK és tanácsok a PS2-hez</a></h3> <div class="amp-related-meta"> Szerencsejáték </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/hogyan-vasaroljunk-amazon-alexa-hasznalataval/"> <amp-img src="https://exse.eyewated.com/pict/850eeb183e7e31af-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/hogyan-vasaroljunk-amazon-alexa-hasznalataval/">Hogyan vásároljunk Amazon Alexa használatával?</a></h3> <div class="amp-related-meta"> Új és következő </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/vasaroljon-most-egy-uj-android-telefont-vagy-varjon/"> <amp-img src="https://exse.eyewated.com/pict/36dad806a18c3025-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/vasaroljon-most-egy-uj-android-telefont-vagy-varjon/">Vásároljon most egy új Android telefont vagy várjon?</a></h3> <div class="amp-related-meta"> Android </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/mik-a-smart-celok/"> <amp-img src="https://exse.eyewated.com/pict/86469dca8eb434e0-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/mik-a-smart-celok/">Mik a SMART célok?</a></h3> <div class="amp-related-meta"> Web & Keresés </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/a-hp-instant-ink/"> <amp-img src="https://exse.eyewated.com/pict/359f6aa370e63237-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/a-hp-instant-ink/">A HP Instant Ink</a></h3> <div class="amp-related-meta"> Útmutatók vásárlása </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/a-legfrissebb-mac-os-x-levelezesi-tippek-truekkoek-es-titkok/"> <amp-img src="https://exse.eyewated.com/pict/cf547ef0f7fb3009-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/a-legfrissebb-mac-os-x-levelezesi-tippek-truekkoek-es-titkok/">A legfrissebb Mac OS X levelezési tippek, trükkök és titkok</a></h3> <div class="amp-related-meta"> Mac </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/hogyan-keszits-flash-videot-az-oen-weboldalan/"> <amp-img src="https://exse.eyewated.com/pict/a274d19b3aa13c93-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/hogyan-keszits-flash-videot-az-oen-weboldalan/">Hogyan készíts Flash-videót az Ön weboldalán</a></h3> <div class="amp-related-meta"> Web & Keresés </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/fluance-xl-sorozatu-5-1-hazimozi-hangsugarzo-rendszer-reszletek-es-fotok/"> <amp-img src="https://exse.eyewated.com/pict/1b4b0bd6e0043c71-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/fluance-xl-sorozatu-5-1-hazimozi-hangsugarzo-rendszer-reszletek-es-fotok/">Fluance XL sorozatú 5.1 házimozi hangsugárzó rendszer - részletek és fotók</a></h3> <div class="amp-related-meta"> Termék Vélemények </div> </div> </div> <div class="amp-related-content"> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/az-5-legjobb-e-reader-tok-amelyet-2018-ban-vasarolhat/">Az 5 legjobb E-Reader tok, amelyet 2018-ban vásárolhat</a></h3> <div class="amp-related-meta"> Útmutatók vásárlása </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/lepesrol-lepesre-szolo-utasitas-a-kepek-atmeretezesehez-e-mailen-keresztueli-elkueldes-celjabol/"> <amp-img src="https://exse.eyewated.com/pict/6425d58dff1d36de-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/lepesrol-lepesre-szolo-utasitas-a-kepek-atmeretezesehez-e-mailen-keresztueli-elkueldes-celjabol/">Lépésről-lépésre szóló utasítás a képek átméretezéséhez e-mailen keresztüli elküldés céljából</a></h3> <div class="amp-related-meta"> E-mail és üzenetküldés </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/attekintes-samsung-mx-hs8500-giga-system/"> <amp-img src="https://exse.eyewated.com/pict/50099ef21b2a3728-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/attekintes-samsung-mx-hs8500-giga-system/">Áttekintés: Samsung MX-HS8500 Giga System</a></h3> <div class="amp-related-meta"> Termék Vélemények </div> </div> </div> <div class="amp-related-content"> <a href="https://hu.eyewated.com/digitalis-analog-atalakito-dobozos-kuponprogram/"> <amp-img src="https://exse.eyewated.com/pict/2d5a9edd57cc347c-120x86.jpg" width="120" height="86" layout="responsive" class="amp-related-image"></amp-img> </a> <div class="amp-related-text"> <h3><a href="https://hu.eyewated.com/digitalis-analog-atalakito-dobozos-kuponprogram/">Digitális-analóg átalakító dobozos kuponprogram</a></h3> <div class="amp-related-meta"> Házimozi </div> </div> </div> </div></article> <footer class="amp-wp-footer"> <div class="amp-wp-footer-inner"> <a href="#" class="back-to-top">Back to top</a> <p class="copyright"> © 2024 hu.eyewated.com </p> <div class="amp-wp-social-footer"> <a href="#" class="jeg_facebook"><i class="fa fa-facebook"></i> </a><a href="#" class="jeg_twitter"><i class="fa fa-twitter"></i> </a><a href="#" class="jeg_google-plus"><i class="fa fa-google-plus"></i> </a><a href="#" class="jeg_pinterest"><i class="fa fa-pinterest"></i> </a><a href="" class="jeg_rss"><i class="fa fa-rss"></i> </a> </div> </div> </footer> <div id="statcounter"> <amp-pixel src="https://c.statcounter.com/12022999/0/02d06b5d/1/"> </amp-pixel> </div> </body> </html> <!-- Dynamic page generated in 1.101 seconds. --> <!-- Cached page generated by WP-Super-Cache on 2019-10-03 22:31:10 --> <!-- 0.002 -->