Quantcast

Posts tagged ‘class’

Check Node Existance on XML using SimpleXMLElement Class on PHP

This short article will cover about how to check node existance on XML document using SimpleXMLElement Class on PHP. We can utilize the xpath() method to check the node exists or not. Here is the sample code. Continue reading ‘Check Node Existance on XML using SimpleXMLElement Class on PHP’ »

Read The Jakarta Post Headlines RSS Feed using PHP and DOMDocument Class

One of our reader was asking about how to read RSS feed from The Jakarta Post headlines (www.thejakartapost.com). Their RSS service is located at http://www.thejakartapost.com/channel/headlines/feed. Here is the PHP code to read their RSS feed. Continue reading ‘Read The Jakarta Post Headlines RSS Feed using PHP and DOMDocument Class’ »

Using Google Apps Provisioning API with Zend Framework Gdata Class to Manipulate User Account

Playing with APIs on other web service is always fun. Now we will talking about utilizing the Zend Framework’s Zend_Gdata class to manipulate user account on your Google Apps account. Nowdays there many people or institutions using Google Apps as their e-mail solutions. If you are using Google Apps Premier Edition and Google Apps Education Edition you will have access to Google Provisioning API. To enable the API, log in to your admin account, and click the Users and groups tab. Then click the Settings subtab, select the checkbox to enable the Provisioning API and save your changes. (You will need to complete the steps for setting up Google Apps before you can log in to your admin account.) Continue reading ‘Using Google Apps Provisioning API with Zend Framework Gdata Class to Manipulate User Account’ »

Access to Unread Gmail Messages using Gmail’s Atom Feed and PHP

One of our readers ask me about Gmail API availability. Yes, right now there is no Gmail API from Google. They only provide Gmail Atom Feed to get the unread messages from a particular Gmail user account. How to do that? Here is the simple code using PHP libcurl and Zend_Http_Client class. Continue reading ‘Access to Unread Gmail Messages using Gmail’s Atom Feed and PHP’ »

Read Detik.com RSS Feed using PHP and DOMDocument Class

One of our reader was asking about how to read RSS feed from Detik.com (one of the leading online news service). Their RSS service is located at http://rss.detik.com/. Here is the PHP code to read their RSS feed. Continue reading ‘Read Detik.com RSS Feed using PHP and DOMDocument Class’ »

Get Feeds Data (RSS) using PHP and DOMDocument Class

RSS is very popular syndication format. Many people called it ‘Really Simple Syndication’ or some others called it ‘Rich Site Summary’. Through this article we want to show about how to read RSS feeds using PHP and DOMDocument class. Suppose we have RSS feeds at http://www.sony-ak.com/feed/rss and we want to get all of the recent posts (the article title and link). Here is the code to do that. Continue reading ‘Get Feeds Data (RSS) using PHP and DOMDocument Class’ »