Kalau pakai DOM dan javascript jadi seperti ini:
Script untuk mengambil post
var node = document.getElementsByTagName("body")[0];
var a = [];
var re = new RegExp('\\b' + 'post' + '\\b');
var els = node.getElementsByTagName("*");
for(var i=0,j=els.length; i<j; i++)
if(re.test(els[i].className))a.push(els[i]);
Post terbaru ada di a[0]
2010/11/27 ME <[email protected]>
>
>
> Rekan rekan,
>
> Saya punya web yang menggunakan Wordpress.
>
> Bagaimana saya bisa ambil "Posting terbaru" saja dari
> database wordpress supaya bisa ditampilkan di halaman html lain.
>
> Tolong minta scriptnya ya.
>
> Thanks
> Erwin
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
------------------------------------
--
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia
Gabung, Keluar, Mode Kirim : [email protected]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/