<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chimera &#187; wordpress</title>
	<atom:link href="http://cahayadi.com/site/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://cahayadi.com/site</link>
	<description>Knowledge Belong To The World</description>
	<lastBuildDate>Mon, 08 Feb 2010 11:16:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress: add_action</title>
		<link>http://cahayadi.com/site/2008/07/04/wordpress-add_action/</link>
		<comments>http://cahayadi.com/site/2008/07/04/wordpress-add_action/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 08:06:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cahayadi.com/site/?p=275</guid>
		<description><![CDATA[Hooks a function on to a specific action. See Plugin API for a list of hooks for action.
Usage
  
Examples
To email some friends whenever an entry is posted on your blog:
function email_friends($post_ID)  {
   $friends = &#8216;bob@example.org, susie@example.org&#8217;;
   mail($friends, &#8220;sally&#8217;s blog updated&#8221; , &#8216;I just put something on my blog: http://blog.example.com&#8217;);
 [...]]]></description>
			<content:encoded><![CDATA[<p>Hooks a function on to a specific action. See Plugin API for a list of hooks for action.<br />
Usage<br />
 <?php add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1); ?> </p>
<p>Examples<br />
To email some friends whenever an entry is posted on your blog:<br />
function email_friends($post_ID)  {<br />
   $friends = &#8216;bob@example.org, susie@example.org&#8217;;<br />
   mail($friends, &#8220;sally&#8217;s blog updated&#8221; , &#8216;I just put something on my blog: http://blog.example.com&#8217;);<br />
   return $post_ID;<br />
}<br />
add_action(&#8217;publish_post&#8217;, &#8216;email_friends&#8217;);</p>
<p>Parameters</p>
<p>$tag<br />
    (string) The name of the action you wish to hook onto. </p>
<p>$function_to_add<br />
    (callback) The name of the function you wish to be called. Note: any of the syntaxes explained in the PHP documentation for the &#8216;callback&#8217; type are valid. </p>
<p>$priority<br />
    How important your function is. Alter this to make your function be called before or after other functions. The default is 10, so (for example) setting it to 5 would make it run earlier and setting it to 12 would make it run later. </p>
<p>$accepted_args<br />
    How many arguments your function takes. In WordPress 1.5.1+, hooked functions can take extra arguments that are set when the matching do_action() or apply_filters() call is run. For example, the action comment_id_not_found will pass any functions that hook onto it the ID of the requested comment. </p>
]]></content:encoded>
			<wfw:commentRss>http://cahayadi.com/site/2008/07/04/wordpress-add_action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy WordPress and Google Calendar Integration</title>
		<link>http://cahayadi.com/site/2008/07/01/easy-wordpress-and-google-calendar-integration/</link>
		<comments>http://cahayadi.com/site/2008/07/01/easy-wordpress-and-google-calendar-integration/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 05:16:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cahayadi.com/site/?p=261</guid>
		<description><![CDATA[http://www.googletutor.com/2008/02/19/easy-wordpress-and-google-calendar-integration/
http://code.google.com/p/wpng-calendar/
The Wordpress Google calendar plugin allows for the integration of a Google calendar into a Wordpress blog. This section describes how to install the plugin and get it working.
   1. Request Google GDATA API key (see link below)
   2. Upload the contents of the ZIP file to the /wp-content/plugins/ directory
  [...]]]></description>
			<content:encoded><![CDATA[<p>http://www.googletutor.com/2008/02/19/easy-wordpress-and-google-calendar-integration/<br />
http://code.google.com/p/wpng-calendar/</p>
<p>The Wordpress Google calendar plugin allows for the integration of a Google calendar into a Wordpress blog. This section describes how to install the plugin and get it working.<br />
   1. Request Google GDATA API key (see link below)<br />
   2. Upload the contents of the ZIP file to the /wp-content/plugins/ directory<br />
   3. Activate the plugin through the Plugins menu<br />
   4. Configure your GDATA API key in the plugin options panel<br />
   5. Configure a Google calendar in the plugin options panel<br />
   6. Configure the option to render the description field as Wiki markup<br />
   7. Create a page and add the &#8217;show-wpng-calendar&#8217; custom field with the number of weeks you want to be displayed<br />
   8. Add the widget to your sidebar and configure the title and number of events to display </p>
]]></content:encoded>
			<wfw:commentRss>http://cahayadi.com/site/2008/07/01/easy-wordpress-and-google-calendar-integration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress relative url</title>
		<link>http://cahayadi.com/site/2008/06/30/wordpress-relative-url/</link>
		<comments>http://cahayadi.com/site/2008/06/30/wordpress-relative-url/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 06:40:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cahayadi.com/site/?p=249</guid>
		<description><![CDATA[edit wp-includes/functions.php
--
function get_option( $setting ) {
	global $wpdb;

	if (in_array($setting, array('siteurl', 'home'))) {
		if (ereg('(wp-includes)', $_SERVER['PHP_SELF'], $r)) {
			return ('http://'.$_SERVER['SERVER_NAME'].(
				substr(
					$_SERVER['PHP_SELF'], 0,
					strpos($_SERVER['PHP_SELF'], $r[0])
				)
			));
		} else if (ereg('wp-admin', $_SERVER['PHP_SELF'])) {
			return 'http://'.$_SERVER['SERVER_NAME']
			. dirname(dirname($_SERVER['PHP_SELF']));
		} else {
			$_SERVER_PHP_SELF = $_SERVER['PHP_SELF'];
			$_SERVER_SCRIPT_FILENAME = $_SERVER['SCRIPT_FILENAME'];
			while ($_SERVER_SCRIPT_FILENAME = dirname($_SERVER_SCRIPT_FILENAME)) {
				$_SERVER_PHP_SELF = dirname($_SERVER_PHP_SELF);
				if (file_exists($_SERVER_SCRIPT_FILENAME.'/wp-content')) {
					break;
				}
				if ($_SERVER_SCRIPT_FILENAME == '.') break;
			}
			return 'http://'.$_SERVER['SERVER_NAME'].$_SERVER_PHP_SELF;
		}
	}
--
]]></description>
			<content:encoded><![CDATA[<p>edit wp-includes/functions.php</p>
<pre>--
function get_option( $setting ) {
	global $wpdb;

	if (in_array($setting, array('siteurl', 'home'))) {
		if (ereg('(wp-includes)', $_SERVER['PHP_SELF'], $r)) {
			return ('http://'.$_SERVER['SERVER_NAME'].(
				substr(
					$_SERVER['PHP_SELF'], 0,
					strpos($_SERVER['PHP_SELF'], $r[0])
				)
			));
		} else if (ereg('wp-admin', $_SERVER['PHP_SELF'])) {
			return 'http://'.$_SERVER['SERVER_NAME']
			. dirname(dirname($_SERVER['PHP_SELF']));
		} else {
			$_SERVER_PHP_SELF = $_SERVER['PHP_SELF'];
			$_SERVER_SCRIPT_FILENAME = $_SERVER['SCRIPT_FILENAME'];
			while ($_SERVER_SCRIPT_FILENAME = dirname($_SERVER_SCRIPT_FILENAME)) {
				$_SERVER_PHP_SELF = dirname($_SERVER_PHP_SELF);
				if (file_exists($_SERVER_SCRIPT_FILENAME.'/wp-content')) {
					break;
				}
				if ($_SERVER_SCRIPT_FILENAME == '.') break;
			}
			return 'http://'.$_SERVER['SERVER_NAME'].$_SERVER_PHP_SELF;
		}
	}
--</pre>
]]></content:encoded>
			<wfw:commentRss>http://cahayadi.com/site/2008/06/30/wordpress-relative-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
