<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Iampriya's Weblog</title>
	<atom:link href="http://iampriya.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://iampriya.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 29 Aug 2010 06:40:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='iampriya.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Iampriya's Weblog</title>
		<link>http://iampriya.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://iampriya.wordpress.com/osd.xml" title="Iampriya&#039;s Weblog" />
	<atom:link rel='hub' href='http://iampriya.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Sql Server Database Backup</title>
		<link>http://iampriya.wordpress.com/2010/08/29/sql-server-database-backup/</link>
		<comments>http://iampriya.wordpress.com/2010/08/29/sql-server-database-backup/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 06:40:58 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=248</guid>
		<description><![CDATA[DECLARE @name VARCHAR(50) -- database name DECLARE @path VARCHAR(256) -- path for backup files DECLARE @fileName VARCHAR(256) -- filename for backup DECLARE @fileDate VARCHAR(20) -- used for file name SET @path = 'C:\Backup\' SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112) DECLARE db_cursor CURSOR FOR SELECT name FROM master.dbo.sysdatabases WHERE name NOT IN ('master','model','msdb','tempdb') OPEN db_cursor FETCH NEXT FROM db_cursor INTO @name WHILE @@FETCH_STATUS = 0 BEGIN SET @fileName = @path + @name + '_' + @fileDate + '.BAK' BACKUP DATABASE @name TO DISK = @fileName FETCH NEXT FROM db_cursor INTO @name END CLOSE db_cursor DEALLOCATE db_cursor Cursor Components Based on the example above, cursors include these components: DECLARE statements &#8211; Declare variables used in the code block SET\SELECT statements &#8211; Initialize the variables to a specific value DECLARE CURSOR [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=248&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code><span style="font-family:Arial;font-size:x-small;">DECLARE </span><span style="font-size:x-small;"><span style="font-family:Arial;">@name VARCHAR(50) -- database name<br />
DECLARE @path VARCHAR(256) -- path for backup files<br />
DECLARE @fileName VARCHAR(256) -- filename for backup<br />
DECLARE @fileDate VARCHAR(20) -- used for file name</p>
<p>SET @path = 'C:\Backup\'</p>
<p>SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112)</p>
<p>DECLARE db_cursor CURSOR FOR<br />
SELECT name<br />
FROM master.dbo.sysdatabases<br />
WHERE name NOT IN ('master','model','msdb','tempdb')</p>
<p>OPEN db_cursor<br />
FETCH NEXT FROM db_cursor INTO @name</p>
<p>WHILE @@FETCH_STATUS = 0<br />
BEGIN<br />
SET @fileName = @path + @name + '_' + @fileDate + '.BAK'<br />
BACKUP DATABASE @name TO DISK = @fileName</p>
<p>FETCH NEXT FROM db_cursor INTO @name<br />
END</p>
<p>CLOSE db_cursor<br />
DEALLOCATE </span><span style="font-family:Arial;">db_cursor</span></span></code></p>
<p><em><strong>Cursor Components</strong></em></p>
<p>Based on the example above, cursors include these components:</p>
<ul>
<li>DECLARE statements &#8211; Declare variables used in the code block</li>
<li>SET\SELECT statements &#8211; Initialize the variables to a specific  value</li>
<li>DECLARE CURSOR statement &#8211; Populate the cursor with values that  will be evaluated
<ul>
<li>NOTE &#8211; There are an equal number of variables in the DECLARE  &lt;cursor_name&gt; CURSOR FOR statement as there are in the SELECT  statement.  This could be 1 or many variables and associated columns.</li>
</ul>
</li>
<li>OPEN statement &#8211; Open the cursor to begin data processing</li>
<li>FETCH NEXT statements &#8211; Assign the specific values from the  cursor to the variables
<ul>
<li>NOTE &#8211; This logic is used for the initial population before the  WHILE statement and then again during each loop in the process as a  portion of the WHILE statement</li>
</ul>
</li>
<li>WHILE statement &#8211; Condition to begin and continue data  processing</li>
<li>BEGIN&#8230;END statement &#8211; Start and end of the code block
<ul>
<li>NOTE &#8211; Based on the data processing multiple BEGIN&#8230;END statements  can be used</li>
</ul>
</li>
<li>Data processing &#8211; In this example, this logic is to backup a  database to a specific path and file name, but this could be just about  any DML or administrative logic</li>
<li>CLOSE statement &#8211; Releases the current data and associated  locks, but permits the cursor to be re-opened</li>
<li>DEALLOCATE statement &#8211; Destroys the cursor</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=248&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2010/08/29/sql-server-database-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
		<item>
		<title>FloatingPoblem</title>
		<link>http://iampriya.wordpress.com/2010/08/18/floatingpoblem/</link>
		<comments>http://iampriya.wordpress.com/2010/08/18/floatingpoblem/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 11:00:22 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Html]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=244</guid>
		<description><![CDATA[When we want to float a html control above the object control then we will not be able to float it by increase the z-index property but it can be possible if we use both as object &#60;OBJECT ID=&#8217;ctl00_MasterContentplaceholder_newdate_obj&#8217; DATA=&#8217;objNew.html&#8217; style=&#8217;z-index:12; width:100%; position:absolute; height:5px;&#8217; TYPE=&#8217;text/x-scriptlet&#8217; &#62; &#60;/OBJECT&#62; In the above example in between object we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=244&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When we want to float a html control above the object control then we will not be able to float it by<br />
increase the z-index property but it can be possible if we use both as object</p>
<p>&lt;OBJECT ID=&#8217;ctl00_MasterContentplaceholder_newdate_obj&#8217;<br />
DATA=&#8217;objNew.html&#8217; style=&#8217;z-index:12; width:100%; position:absolute; height:5px;&#8217;<br />
TYPE=&#8217;text/x-scriptlet&#8217; &gt;<br />
&lt;/OBJECT&gt;</p>
<p>In the above example in between object we fetch html and do needed coding there.</p>
<p>In other way it can also be possible by taking iframe instead of object</p>
<p>&lt;iframe src=&#8221;yourwebpage.html&#8221; name=&#8221;anyname&#8221; width=&#8221;200&#8243; height=&#8221;150&#8243; align=&#8221;default&#8221;&gt;&lt;/iframe&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/244/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=244&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2010/08/18/floatingpoblem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto run a query from mysql command prompt</title>
		<link>http://iampriya.wordpress.com/2010/06/06/howto-run-a-query-from-mysql-command-prompt/</link>
		<comments>http://iampriya.wordpress.com/2010/06/06/howto-run-a-query-from-mysql-command-prompt/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 18:22:30 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=239</guid>
		<description><![CDATA[Howto run a query from mysql command prompt We need to follow the following steps to run database query from mysql comand prompt 1&#62;Go to Mysql comand promt. 2&#62;Specify the connecting password. 3&#62;Now create a sql file which we can use as source file to run all the query. That is our comand will be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=239&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Howto run a query from mysql command prompt</strong></p>
<p>We need to follow the following steps to run database query from mysql comand prompt<br />
1&gt;Go to Mysql comand promt.<br />
2&gt;Specify the connecting password.<br />
3&gt;Now create a sql file which we can use as source file to run all the query.<br />
That is our comand will be =&gt;<br />
source (The sql file location where everything specified)<br />
4&gt;The sql file should be look like..</p>
<p>rnd_db_ddl.sql<br />
drop database if exists rnd_db;</p>
<p>create database rnd_db;<br />
use rnd_db;</p>
<p>\. C:/Projects/rnd_db/organization.sql=&gt;this comand will execute the organization.sql<br />
from the mention path.</p>
<p>Organization.sql should be look like this<br />
organization.sql<br />
drop table if exists organization;<br />
create table `organization` (<br />
`organization_id` int not null auto_increment,<br />
`organization_name` varchar(200) not null,<br />
`is_active` tinyint(1) not null,<br />
`address_line1` varchar(255) not null,<br />
`address_line2` varchar(255) default null,<br />
`city` varchar(100) not null,<br />
`state` varchar(100) not null,<br />
`country` varchar(100) not null,<br />
`zipcode` varchar(15) default null,<br />
`telephone_country_code` int default null,<br />
`telephone_area_code` int default null,<br />
`telephone` int default null,<br />
`mobile_country_code` int default null,<br />
`mobile` int default null,<br />
`fax_country_code` int default null,<br />
`fax_area_code` int default null,<br />
`fax` int default null,<br />
`url` varchar(255) default null,<br />
`created_by` int  not null,<br />
`date_created` timestamp not null default current_timestamp,<br />
`updated_by` int  not null,<br />
`date_updated` timestamp not null,</p>
<p>constraint organization_pk primary key  (`organization_id`),<br />
key `organization_ix` (`organization_id`)<br />
) engine=innodb;</p>
<p>INSERT INTO `organization` (`organization_id`,`organization_name`,<br />
`is_active`,`address_line1`,`address_line2`,`city`,`state`,`country`,<br />
`zipcode`,`telephone_country_code`,`telephone_area_code`,<br />
`telephone`,`mobile_country_code`,`mobile`,`fax_country_code`,<br />
`fax_area_code`,`fax`,`url`,`created_by`,`date_created`,`updated_by`,<br />
`date_updated`) VALUES (1,&#8217;Christian Medical Hospital&#8217;,1,&#8217;R.T.Nagar&#8217;,&#8221;,<br />
&#8216;Bangalore&#8217;,'Karnataka&#8217;,'India&#8217;,&#8217;560032&#8242;,91,80,23544328,0,0,0,0,0,<br />
&#8216;www.cmc.com&#8217;,1,&#8217;2009-11-12 00:00:00&#8242;,1,&#8217;2009-11-12 00:00:00&#8242;);</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=239&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2010/06/06/howto-run-a-query-from-mysql-command-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
		<item>
		<title></title>
		<link>http://iampriya.wordpress.com/2010/03/12/235/</link>
		<comments>http://iampriya.wordpress.com/2010/03/12/235/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 12:34:31 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=235</guid>
		<description><![CDATA[How to use JSdoc JSDoc is meant to do for Javascript, what Javadoc does for Java. It does. We can download and install JSDoc easily: 1. Download JSDoc 2. Expand the tgz.gz file (I use Winrar) 3. Optional – I copy the jsdoc folder to my D: drive to make things easier 4. Reminder – [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=235&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>How to use JSdoc</strong></p>
<p>JSDoc is meant to do for Javascript, what Javadoc does for Java.</p>
<p>It does.</p>
<p>We can download and install JSDoc easily:</p>
<p>1. <a href="http://sourceforge.net/projects/jsdoc/">Download JSDoc</a><br />
2. Expand the tgz.gz file (I use Winrar)<br />
3. Optional – I copy the jsdoc folder to my D: drive to make things easier<br />
4. Reminder – you need a perl runtime installed.  <a href="http://www.activestate.com/activeperl/">ActivePerl is recommended</a><br />
5. Open up a command prompt<br />
6. Change to your JSDoc folder (mine is D:\JSDoc-1.10.2\)<br />
7. Run it: “perl jsdoc.pl test.js” (to test it against the built in JS file)</p>
<p>JSDoc is like the following image</p>
<p><a href="http://iampriya.files.wordpress.com/2010/03/js_jsdoc.gif"><img class="alignnone size-medium wp-image-236" title="js_jsdoc" src="http://iampriya.files.wordpress.com/2010/03/js_jsdoc.gif?w=300&#038;h=229" alt="" width="300" height="229" /></a></p>
<p>In the following all the parameter are showing..</p>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<h3><a id="tagref" name="tagref">ag Reference</a></h3>
</td>
</tr>
<tr>
<td>The following is a summary of the supported tags (&#8216;@&#8217;-attributes) that  are supported by JSDoc. For actual examples of the usage of these tags,  please see the test.js JavaScript file that is included in the JSDoc  distribution.</p>
<table>
<tbody>
<tr>
<td>@param</td>
<td>Provide information about a function parameter. A datatype indicator  can be added between curly braces with this tag, as follows:</p>
<pre>        /**           * @param {String} paramName This is a string parameter           */</pre>
</td>
</tr>
<tr>
<td>@argument</td>
<td>Synonym for @param</td>
</tr>
<tr>
<td>@return</td>
<td>Provide information about the return value of a function.</td>
</tr>
<tr>
<td>@returns</td>
<td>Synonym for @return</td>
</tr>
<tr>
<td>@author</td>
<td>Provide information about the author of a JavaScript file or a function.</td>
</tr>
<tr>
<td>@deprecated</td>
<td>Signify that a function or class is deprecated, and should not be used if possible.</td>
</tr>
<tr>
<td>@see</td>
<td>Link to another class or function that is of importance to the current  class or function. This tag can take several forms.</p>
<p>To link to another method within the same class:</p>
<pre>        @see #methodName</pre>
<p>To link to another class:</p>
<pre>        @see ClassName</pre>
<p>To link to a specific method of another class:</p>
<pre>        @see ClassName#methodName</pre>
</td>
</tr>
<tr>
<td>@version</td>
<td>Show the version number of the current file or class</td>
</tr>
<tr>
<td>@requires</td>
<td>Define a dependency upon another class. The syntax for this tag is as follows:</p>
<pre>        @requires OtherClassName This is text to be shown</pre>
</td>
</tr>
<tr>
<td>@throws</td>
<td>Show that a method can throw a certain type of exception. The syntax for this tag is:</p>
<pre>        @throws ExceptionType This is the label text</pre>
</td>
</tr>
<tr>
<td>@exception</td>
<td>Synonym for @throws</td>
</tr>
<tr>
<td>@link</td>
<td>This  is a powerful tag that can be used to link to a large number of other  pages. It is also the only tag that can be used in the description text  of a documentation string before the &#8216;@&#8217;-tag section. The usage is very  similar to that of the @see tag, but the entire tag is wrapped in curly braces. For example:</p>
<pre>        /**           * This utility method is also a member of the {@link String} class,            * in the form of the {@link String#utility} method.            */</pre>
</td>
</tr>
<tr>
<td>@fileoverview</td>
<td>This is a special-use tag. If the first block of documentation in a file starts with a @fileoverview tag, the rest of the documentation block will be used to provide a file overview in the documentation.</td>
</tr>
<tr>
<td>@class</td>
<td>This  tag is used in a constructor&#8217;s documentation block to provide  information about the actual class. The included documentation will  then not be included in the constructor&#8217;s documentation.</td>
</tr>
<tr>
<td>@constructor</td>
<td>Signify that a function is the constructor for a class.</td>
</tr>
<tr>
<td>@type</td>
<td>Show the return type of a function. For example:</p>
<pre>        /**           * This function returns a String.           * @return The name of the current user           * @type String           */</pre>
</td>
</tr>
<tr>
<td>@extends</td>
<td>Used  to show that a class is a subclass of another class. JSDoc is often  quite good at picking this up on its own, but in some situations this  tag is required.</td>
</tr>
<tr>
<td>@private</td>
<td>Signify that a function or class is private. Private classes and  functions will not be available in the documentation unless JSDoc is  run with the &#8211;private commandline option.</td>
</tr>
<tr>
<td>@final</td>
<td>Flag a value as being a final (constant) value.</td>
</tr>
<tr>
<td>@member</td>
<td>Show that a function is a member of a given class:</p>
<pre>        /**           * @member MyClass           */   	function SomeFunc(){  	}</pre>
</td>
</tr>
<tr>
<td>@ignore</td>
<td>Tell JSDoc to totally ignore this method.</td>
</tr>
<tr>
<td>@base</td>
<td>Force JSDoc to view the current class constructor   			as a subclass of the class given as the value to  			this tag:</p>
<pre>       /**          * This is a subclass of Shape          * @constructor          * @base Shape          */         function Circle(){             // ...         }</pre>
</td>
</tr>
<tr>
<td>@addon</td>
<td>Mark a function as being an &#8220;addon&#8221; to a core  			JavaScript function that isn&#8217;t defined within  			your own sources, as shown below:</p>
<pre>	/**   	 * This is an addon function to SomeCoreClass which is           * not defined within our own sources.   	 * @addon  	 */  	SomeCoreClass.someFunction = function(){               // ...  	}</pre>
</td>
</tr>
<tr>
<td>@exec</td>
<td><strong><em>Experimental!</em></strong></p>
<p>Force JSDoc to &#8220;execute&#8221; this method as part of its  			preprocessing step, in the same way that class  			contructors are executed. This can allow attributes  			to be added to a class from within a function.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/235/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/235/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/235/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=235&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2010/03/12/235/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>

		<media:content url="http://iampriya.files.wordpress.com/2010/03/js_jsdoc.gif?w=300" medium="image">
			<media:title type="html">js_jsdoc</media:title>
		</media:content>
	</item>
		<item>
		<title>Security Issues</title>
		<link>http://iampriya.wordpress.com/2010/02/13/security-issues/</link>
		<comments>http://iampriya.wordpress.com/2010/02/13/security-issues/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 07:58:29 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Dotnet]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=99</guid>
		<description><![CDATA[Security Issues with ViewState ViewState in ASP.NET can easily be tampered cause the ViewState data is not encrypted. Therefore, please do not store important data or information in ViewState. But if you really need to store the important data in Viewstate, few steps can be used to protect and encrypt the ViewState Data. 1. Enable [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=99&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Security Issues with ViewState</h2>
<p>ViewState in ASP.NET can easily be tampered cause the ViewState data is not encrypted. Therefore, please do not store important data or information in ViewState.  But if you really need to store the important data in Viewstate, few steps can be used to protect and encrypt  the ViewState Data.<br />
1. Enable ViewState Mac in page directives or in the web.config level</p>
<pre class="coloredcode"><span class="dir">&lt;%@Page EnableViewStateMAC=true %&gt;</span></pre>
<p>2. Set the machine.config key by using validation such as 3Des or Sha1. Sha1 is more secured compare to 3Des as it produces a larger hash than MD5 and is cryptographically stronger.</p>
<p>You need to edit your machine.config files like this.</p>
<pre class="coloredcode">&lt;<span class="tag">machineKey</span><span class="attr"> validation=</span><span class="attrv">"3Des"</span><span class="attr"> validationKey=</span><span class="attrv">"AutoGenerate,IsolateApps"</span>/&gt; or
&lt;<span class="tag">machineKey</span><span class="attr"> validation=</span><span class="attrv">"SHA1"</span><span class="attr"> validationKey=</span><span class="attrv">"AutoGenerate,IsolateApps"</span>/&gt;</pre>
<p>If you are running WebFarm on your machine, you cannot use AutoGenerate in your validationKey, hence you must set the same key for all your web farm machine.  Otherwise, ViewState generated from one machine could not be POSTed back to a machine farm with different key!. The keys should be 128 characters long(the maximum) and generated totally by random means.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=99&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2010/02/13/security-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
		<item>
		<title>Create XMl</title>
		<link>http://iampriya.wordpress.com/2010/02/13/create-xml/</link>
		<comments>http://iampriya.wordpress.com/2010/02/13/create-xml/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 07:53:02 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=215</guid>
		<description><![CDATA[How to create xml To create xml we need to do following steps=&#62; 1)First include the name i)System.Xml ii)System.IO iii)System.Text. 2)create writer object &#62;XmlTextWriter writer = new XmlTextWriter(Server.MapPath(&#8220;xml/userInfo.xml&#8221;), Encoding.UTF8); In Server.MapPath we specify the path where we would like to create xml file. statr to write by writer.WriteStartDocument(); writer.WriteStartElement(&#8220;userInfo&#8221;); this specify strat element with element [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=215&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>How to create xml</strong></p>
<p>To create xml we need to do following steps=&gt;</p>
<p>1)First include the name i)System.Xml ii)System.IO iii)System.Text.</p>
<p>2)create writer object</p>
<table border="1" width="100%">
<tbody>
<tr>
<td>&gt;XmlTextWriter writer = new XmlTextWriter(Server.MapPath(&#8220;xml/userInfo.xml&#8221;), Encoding.UTF8);</td>
</tr>
<tr>
<td>In Server.MapPath we specify the path where we would like to create xml file.</td>
</tr>
<tr>
<td>statr to write by writer.WriteStartDocument();</td>
</tr>
<tr>
<td>writer.WriteStartElement(&#8220;userInfo&#8221;); this specify strat element with element userInfo</td>
</tr>
<tr>
<td>writer.WriteElementString(&#8220;urlReferrer&#8221;, &#8220;none&#8221;);this specify sub element with element urlReferrer and value none</td>
</tr>
<tr>
<td>writer.WriteAttributeString(&#8220;timeVisited&#8221;, DateTime.Now.ToString());this specify a element attribute with timeVisited</td>
</tr>
<tr>
<td>writer.WriteEndElement(); this specify end of a element</td>
</tr>
<tr>
<td>writer.WriteEndDocument(); this specify end of a document.</td>
</tr>
<tr>
<td>writer.Close(); this specify close of a document.</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=215&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2010/02/13/create-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
		<item>
		<title>Store Procedure example</title>
		<link>http://iampriya.wordpress.com/2009/12/18/store-procedure-example/</link>
		<comments>http://iampriya.wordpress.com/2009/12/18/store-procedure-example/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 18:10:16 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=60</guid>
		<description><![CDATA[CREATE PROCEDURE [dbo].[test_sp_add_user] AS DECLARE @UserPKID BIGINT INSERT INTO test_user (FirstName,LastName,Address1,Address2, Country,EmailID,Password,Status) VALUES (@FirstName,@LastName,@Address1,@Address2, @Country,@EmailID,@Password,@Status) SET @UserPKID = @@identity GO ( @FirstName VARCHAR(255), @LastName VARCHAR(255), @Address1 VARCHAR(255), @Address2 VARCHAR(255), @Country VARCHAR(255), @EmailID VARCHAR(255), @Password VARCHAR(255), @Status BIT ) CREATE PROCEDURE [dbo].[test_sp_delete_user] ( @MemberID nvarchar(1000) ) AS exec(&#8216;DELETE FROM kjaya_user WHERE MemberID IN (&#8216; + @MemberID [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=60&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>CREATE PROCEDURE [dbo].[test_sp_add_user]<br />
AS</p>
<p>DECLARE @UserPKID BIGINT</p>
<p>INSERT INTO test_user<br />
(FirstName,LastName,Address1,Address2,<br />
Country,EmailID,Password,Status)<br />
VALUES<br />
(@FirstName,@LastName,@Address1,@Address2,<br />
@Country,@EmailID,@Password,@Status)</p>
<p>SET @UserPKID = @@identity<br />
GO</p>
<p>(<br />
@FirstName VARCHAR(255),<br />
@LastName VARCHAR(255),<br />
@Address1 VARCHAR(255),<br />
@Address2 VARCHAR(255),<br />
@Country VARCHAR(255),<br />
@EmailID VARCHAR(255),<br />
@Password VARCHAR(255),<br />
@Status BIT<br />
)</p>
<p>CREATE PROCEDURE [dbo].[test_sp_delete_user]<br />
(<br />
@MemberID nvarchar(1000)<br />
)<br />
AS<br />
exec(&#8216;DELETE FROM kjaya_user WHERE MemberID IN (&#8216; +  @MemberID + &#8216;) &#8216;)<br />
GO</p>
<p>CREATE PROCEDURE [dbo].[test_sp_update_user]<br />
(<br />
@MemberID BIGINT,<br />
@FirstName VARCHAR(255),<br />
@LastName VARCHAR(255),<br />
@Address1 VARCHAR(255),<br />
@Address2 VARCHAR(255),<br />
@Country VARCHAR(255),<br />
@EmailID VARCHAR(255),<br />
@Password VARCHAR(255),<br />
@Status BIT<br />
)<br />
AS<br />
UPDATE test_user<br />
SET<br />
FirstName = @FirstName,<br />
LastName = @LastName,<br />
Address1 = @Address1,<br />
Address2 = @Address2,<br />
Country = @Country,<br />
EmailID = @EmailID,<br />
Password = @Password,<br />
Status = @Status<br />
WHERE MemberID = @MemberID<br />
GO</p>
<p>Add the following code to the  section to redirect the user to a custom page:</p>
<p>This setting goes in your web.config file. It affects the entire application, though&#8230; I don&#8217;t think you can set it per page.</p>
<p>&#8220;xxx&#8221; is in KB. The default is 4096 (= 4 MB).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=60&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2009/12/18/store-procedure-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
		<item>
		<title>Cursor</title>
		<link>http://iampriya.wordpress.com/2009/11/02/cursor/</link>
		<comments>http://iampriya.wordpress.com/2009/11/02/cursor/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 12:31:35 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=220</guid>
		<description><![CDATA[Cursors can be considers as result sets which allow a user to move through each record one by one. Whenever we find some situation where we need to process each record individually we can use cursors. In order to work with a cursor we need to perform some steps in the following order 1. Declare  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=220&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Cursors can be considers as result sets which allow a user to move through each record one by one.<br />
Whenever we find some situation where we need to process each record individually we can use cursors.</p>
<p>In order to work with a cursor we need to perform some steps in the following order</p>
<p>1. Declare  cursor<br />
2. Open cursor<br />
3. Fetch row from the cursor<br />
4. Process fetched row<br />
5. Close cursor<br />
6. Deallocate cursor</p>
<p>First of all we need to declare a cursor with the help of Declare statement and in<br />
order to specify the result set contained by this cursor we use Select statement.<br />
For example we can define a cursor named “MyCur” and we can use a table named Users<br />
having two columns UserName, and Password.</p>
<p>Declare MyCur Cursor<br />
For<br />
Select * From Users</p>
<p>Open MyCur</p>
<p>Now, fetch first row from this cursor and loop through the cursor records until the specified criteria is found</p>
<p>Declare @UserName Varchar(50)</p>
<p>Declare @Password Varchar(50)</p>
<p>Fetch Next From Cursor Into @UserName, @Password</p>
<p>While @@Fetch_Status = 0</p>
<p>Begin</p>
<p>&#8211;Check if appropriate row was found then process it</p>
<p>&#8211;Othewise</p>
<p>&#8211;Fetch the next row as we did in the previous fetch  statement</p>
<p>End</p>
<p>When we have worked with the cursor, we’ll close it and deallocate it so that there will remain no reference to this cursor any more.</p>
<p>Close MyCur<br />
Deallocate MyCur</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=220&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2009/11/02/cursor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
		<item>
		<title>Googl API</title>
		<link>http://iampriya.wordpress.com/2009/08/23/googl-api/</link>
		<comments>http://iampriya.wordpress.com/2009/08/23/googl-api/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 16:39:11 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=217</guid>
		<description><![CDATA[Google search API URL http://code.google.com/apis/ajaxsearch/signup.html?url=http://localhost/GoogleAPI/&#038;key=ABQIAAAAfFLlcMdJpi-GA8PmfutjlRRqMtI6TmfFpjE_nNUIeqypmSKrtRSpgusRxFNPdQYEKe8akLUsMtw9Yg Search API Key localhost key ABQIAAAAfFLlcMdJpi-GA8PmfutjlRRqMtI6TmfFpjE_nNUIeqypmSKrtRSpgusRxFNPdQYEKe8akLUsMtw9Yg<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=217&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Google search API URL</p>
<p>http://code.google.com/apis/ajaxsearch/signup.html?url=http://localhost/GoogleAPI/&#038;key=ABQIAAAAfFLlcMdJpi-GA8PmfutjlRRqMtI6TmfFpjE_nNUIeqypmSKrtRSpgusRxFNPdQYEKe8akLUsMtw9Yg</p>
<p>Search API Key</p>
<p>localhost key</p>
<pre>ABQIAAAAfFLlcMdJpi-GA8PmfutjlRRqMtI6TmfFpjE_nNUIeqypmSKrtRSpgusRxFNPdQYEKe8akLUsMtw9Yg</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=217&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2009/08/23/googl-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress Information</title>
		<link>http://iampriya.wordpress.com/2009/07/28/wordpress-information/</link>
		<comments>http://iampriya.wordpress.com/2009/07/28/wordpress-information/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 12:42:22 +0000</pubDate>
		<dc:creator>iampriya</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Information]]></category>

		<guid isPermaLink="false">http://iampriya.wordpress.com/?p=213</guid>
		<description><![CDATA[WP_MEMORY_LIMIT=&#62;memory_limit=&#62;32M ABSPATH=&#62;Root Path=&#62;root/wp-load.php WPINC =&#62;/wp-includes=&#62;root/wp-admin/gears-manifest.php FUNCTION is_home()=&#62;root/wp-includes/query.php post_class()=&#62;root/wp-includes/post-template.php=&#62;Set the class of the post title. have_posts()=&#62;root/wp-includes/query.php the_post()=&#62;root/wp-includes/query.php=&#62;For the post FUnction setup_postdata($post)=&#62;root/wp-includes/query.php=&#62;Just Fecth the content and set no of pages. process_posts()=&#62;root/wp-admin/import/mt.php the_title()=&#62;root/wp-includes/post-template.php=&#62;Just echo the title get_the_content()=&#62;root/wp-includes/post-template.php=&#62;Fetch The Content the_content()=&#62;root/wp-includes/post-template.php=&#62;Just echo the COntent get_the_title()=&#62;root/wp-includes/post-template.php=&#62;Fetch The title the_category()=&#62;root/wp-includes/category-template.php=&#62;Just echo the COntent get_the_title()=&#62;root/wp-includes/post-template.php=&#62;Fetch The title get_template_directory_uri()=&#62;root/wp-content/themes/default/ dynamic_sidebar()=&#62;root/wp-includes/widgets.php=&#62;True/False ajax_calendar()=&#62;root/wp-content/plugins/ajax-calendar2/models/calender.php wp_widget_calendar()=&#62;root/wp-includes/widgets.php=&#62;For Fetching [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=213&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>WP_MEMORY_LIMIT=&gt;memory_limit=&gt;32M</p>
<p>ABSPATH=&gt;Root Path=&gt;root/wp-load.php</p>
<p>WPINC =&gt;/wp-includes=&gt;root/wp-admin/gears-manifest.php</p>
<p>FUNCTION<br />
is_home()=&gt;root/wp-includes/query.php</p>
<p>post_class()=&gt;root/wp-includes/post-template.php=&gt;Set the class of the post title.<br />
have_posts()=&gt;root/wp-includes/query.php<br />
the_post()=&gt;root/wp-includes/query.php=&gt;For the post FUnction<br />
setup_postdata($post)=&gt;root/wp-includes/query.php=&gt;Just Fecth the content and set no of pages.<br />
process_posts()=&gt;root/wp-admin/import/mt.php</p>
<p>the_title()=&gt;root/wp-includes/post-template.php=&gt;Just echo the title<br />
get_the_content()=&gt;root/wp-includes/post-template.php=&gt;Fetch The Content</p>
<p>the_content()=&gt;root/wp-includes/post-template.php=&gt;Just echo the COntent<br />
get_the_title()=&gt;root/wp-includes/post-template.php=&gt;Fetch The title</p>
<p>the_category()=&gt;root/wp-includes/category-template.php=&gt;Just echo the COntent<br />
get_the_title()=&gt;root/wp-includes/post-template.php=&gt;Fetch The title</p>
<p>get_template_directory_uri()=&gt;root/wp-content/themes/default/<br />
dynamic_sidebar()=&gt;root/wp-includes/widgets.php=&gt;True/False</p>
<p>ajax_calendar()=&gt;root/wp-content/plugins/ajax-calendar2/models/calender.php</p>
<p>wp_widget_calendar()=&gt;root/wp-includes/widgets.php=&gt;For Fetching Calender<br />
get_calendar()=&gt;root/wp-includes/general-template.php=&gt;For Fetching Record With Calender<br />
get_calendar()=&gt;root/wp-includes/general-template.php=&gt;For Setting css to the date for a post.<br />
wp_widget_pages()=&gt;root/wp-includes/widgets.php=&gt;For Fetching Pages<br />
wp_widget_links()=&gt;root/wp-includes/widgets.php=&gt;For Fetching Links<br />
wp_widget_meta()=&gt;root/wp-includes/widgets.php=&gt;For Fetching Meta Tags<br />
wp_widget_search()=&gt;root/wp-includes/widgets.php=&gt;For Fetching Search Function<br />
get_search_form()=&gt;root/wp-includes/general-template.php=&gt;For Fetching Search Form<br />
wp_widget_recent_entries()=&gt;root/wp-includes/widgets.php=&gt;For Get Widget Recent Entries<br />
wp_widget_tag_cloud()=&gt;root/wp-includes/widgets.php=&gt;For Get Tag Function<br />
wp_widget_archives()=&gt;root/wp-includes/widgets.php=&gt;For Get Archive information</p>
<p>Customize Calender<br />
ec3_get_calendar()=&gt;root/wp-content/plugins/event-calendar/template-functions.php<br />
ec3_get_calendar_nav()=&gt;root/wp-content/plugins/event-calendar/template-functions.php</p>
<p>wp_widget_categories()=&gt;root/wp-includes/widgets.php=&gt;For Get Categories<br />
wp_list_categories()=&gt;root/wp-includes/category-template.php=&gt;For Fetching all categories Categories<br />
get_category_link()=&gt;<br />
walk_category_tree()=&gt;root/wp-includes/category-template.php=&gt;Just calling the function to go through the category.<br />
walk()=&gt;root/wp-includes/classes.php=&gt;=&gt;Go through the category<br />
display_element=&gt;root/wp-includes/classes.php=&gt;Display the category element.</p>
<p>Customize Function<br />
wp_list_customized_categories()=&gt;root/wp-includes/category-template.php=&gt;customized categories Categories<br />
walk_customized_category_tree()=&gt;root/wp-includes/category-template.php=&gt;Just calling the function to go through the<br />
walk_customize()=&gt;root/wp-includes/classes.php=&gt;Go through the category.<br />
start_customized_el()=&gt;root/wp-includes/classes.php=&gt;Fetch element to display category.</p>
<p>For Calender<br />
go_next()=&gt;root/wp-content/plugins/event-calendar/ec3.js=&gt;For ajax javascript function.<br />
loadDates()=&gt;root/wp-content/plugins/event-calendar/ec3.js=&gt;For ajax javascript function.<br />
process_xml()=&gt;root/wp-content/plugins/event-calendar/ec3.js=&gt;Ready state function is call.<br />
ec3_Popup.add_tbody()=&gt;root/wp-content/plugins/event-calendar/popup.js=&gt;79 line.<br />
ec3_filter_query_vars()=&gt;root/wp-content/plugins/event-calendar/eventcalendar3.php=&gt;For ajax process page.<br />
ec3_filter_query_vars_xml=&gt;root/wp-content/plugins/event-calendar/eventcalendar3.php=&gt;For ajax process page.</p>
<p>wp_widget_text()=&gt;root/wp-includes/widgets.php=&gt;For Get widget Text<br />
wp_widget_rss()=&gt;root/wp-includes/widgets.php=&gt;For Get widget RSS<br />
wp_widget_recent_comments()=&gt;root/wp-includes/widgets.php=&gt;For Get Comment</p>
<p>M:\wp-content\themes\default\archive.php =&gt;For displaying article from archive.<br />
M:\wp-content\themes\default\archive.php =&gt;For displaying article from Category.<br />
M:\wp-content\themes\default\archive.php =&gt;For displaying article from Calender.</p>
<p>For Customize Calender Template</p>
<p>To Change Calnder year month display=&gt;Go to ec3.js Line Number 121.</p>
<p>Recent Post =&gt;single.php<br />
Blog Archive=&gt;archive.php<br />
Calender Archive=&gt;archive.php<br />
Category Archive=&gt;archive.php</p>
<p>have_posts()=&gt;The have_posts function checks to see if the current post number is less than the number of posts you choose to display in the Admin panel. The loop will then continue until the current post number reachers the maximum number of posts you have decided to show.</p>
<p>the_author()=&gt;Retrieves the author’s name.<br />
the_title()=&gt; Displays the title of the current post.<br />
the_content()=&gt; Displays the contents of the post.<br />
the_permalink()=&gt; Displays the URL for the post in the form of a permalink.<br />
the_ID()=&gt;Displays the post ID.</p>
<p>Global variable authordata can be used in a function using this code:</p>
<p>    global $authordata;<br />
    echo $authordata-&gt;display_name;</p>
<p>The authordata global can also access: nickname, last_name, first_name, ID, user_email, user_url, user_login, description, and several others. </p>
<p>Global variable post can be used in a function using this code:</p>
<p>    global $post;<br />
    echo $post-&gt;post_title;</p>
<p>The post global can also access: ID, post_author, post_date, post_excerpt, comment_count, and several others. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/iampriya.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/iampriya.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/iampriya.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/iampriya.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/iampriya.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/iampriya.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/iampriya.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/iampriya.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/iampriya.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/iampriya.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/iampriya.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/iampriya.wordpress.com/213/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/iampriya.wordpress.com/213/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/iampriya.wordpress.com/213/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=iampriya.wordpress.com&amp;blog=4851846&amp;post=213&amp;subd=iampriya&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://iampriya.wordpress.com/2009/07/28/wordpress-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5b112eaf8b4f0661a072ba065f1cf998?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">iampriya</media:title>
		</media:content>
	</item>
	</channel>
</rss>
