Cara Memanggil Data XML Blogger
Ada beberapa metode untuk memanggil data XML Blogger sehingga data tersebut dapat ditampilkan ke dalam HTML.
Sebagai Nilai Atribut
Tambahkan namespace expr:
pada setiap atribut yang ingin Anda gunakan sebagai kontainer untuk menampilkan data sebagai nilai atribut dengan nama setelah expr:
:
<a expr:href='data:blog.url'/>
<a expr:href='data:blog.url + "#hash"'/>
<a href='data:blog.url'/>
<a href='data:blog.url + "#hash"'/>
Hasil:
<a href='http://example.com'></a>
<a href='http://example.com#hash'></a>
<a href='data:blog.url'></a>
<a href='data:blog.url + "#hash"'></a>
Sebagai Teks
Tampilkan data apa adanya dengan cara menuliskannya sebagai tag XML biasa:
<data:blog.url/>
<data:blog.url/>#hash
<b:eval expr='data:blog.url + "#hash"'/>
Hasil:
http://example.com
http://example.com#hash
http://example.com#hash
8 Comments:
Mantap djiwa
By Giri Diwa Adam, at Tuesday, September 19, 2017 at 4:56:00 PM GMT+7
kalau cara load post tanpa refresh gimana ya mas? apakah konsepnya mirip loadmore ajax ? kalau bisa bagi tutorialnya dong
By RZD ZNR, at Saturday, September 23, 2017 at 10:17:00 AM GMT+7
Kupasin Slider post dan slider menu mobile ala google donk
By IDKarir.id, at Tuesday, September 26, 2017 at 7:54:00 AM GMT+7
Saya naksir tool generator kode warnanya mas
By Bob Marley, at Monday, October 2, 2017 at 12:48:00 PM GMT+7
Salam,
can we use your sitemap for special label?
http://www.dte.web.id/p/daftar-isi-buku.html
at this page you added a sitemap for all posts on the blog,
can we show only posts from specific one or more labels
Please also check the TOC at this link
http://townoftwilight.blogspot.com/2012/02/advanced-blogspot-table-of-contents.html
this TOC code has many options to set sitemap
we can show easily posts from a specific label.
I also requested you already to help me to modify this sitemap as you are using by adding a posts from a single or more labels selected by user.
Can you help me?
I hope you will reply me. Thanks
Allah Hafez
By Urdu Tubes, at Friday, October 27, 2017 at 12:13:00 AM GMT+7
Salam mas taufik..
Maaf sedikit melenceng.. Apakah mungkin post view bisa dipanggil di blogspot?
By Anonymous, at Friday, November 3, 2017 at 2:27:00 AM GMT+7
The resource links are broken.
By Taufik Nurrohman, at Wednesday, January 10, 2018 at 12:41:00 PM GMT+7
→ /2013/01/mengimplementasikan-ajax-pada-blogspot.html
By Taufik Nurrohman, at Wednesday, January 10, 2018 at 12:50:00 PM GMT+7
Post a Comment
<< Home