Pages

My Blog Headlines

Sep 16, 2011

How to Create an RSS 2.0 Feed for Your Website

How to Create an RSS 2.0 Feed for Your Website Updates

If you can learn HTML, you can easily learn how to build your own RSS 2.0 feeds. I'll take you through the steps to creating an RSS feed from scratch.

Step 1: XML Declaration : 
  • Since RSS 2.0 must validate as XML, the first line in your rss feed must be the XML declaration.
    • <?xml version="1.0" encoding="utf-8"?>
  • The encoding is optional but recommended. If your using something other than UTF-8 be sure to change the above line.
    • Note: If you are using CFML and have whitespace due to the Application.cfm file you can reset the output buffer using <cfcontent reset="true">
Step 2: RSS Channel : 
  • In this step we need to open up the rss tag, and the channel tag, all of your feed content goes inside these tags.
    • <rss version="2.0">
    • <channel>
Step 3: RSS Feed Information :
  • Next you place information about your RSS feed such as the title of it, the description, and a link to the the site.
    • <title>The title of my RSS 2.0 Feed</title>
    • <link>http://www.example.com/</link>
    • <description>This is my rss 2 feed description</description>
    • <lastBuildDate>Mon, 12 Sep 2005 18:37:00 GMT</lastBuildDate>
    • <language>en-us</language>
The lastBuildDate should be the date and time that the feed was last changed. Dates in RSS feeds should comply to RFC 822. In CFML the DateFormat mask would be ddd, dd mmm yyyy and the TimeFormat would be HH:mm:ss. Dates should be offset to GMT. The lastBuildDate tag is not required but is highly recommended.

Step 4: RSS Items : 
  • Next we enumerate over each RSS item, each item has a title, link, and description, publication date, and guid.
    • <item>
    • <title>Title of an item</title>
    • <link>http://example.com/item/123</link>
    • <guid>http://example.com/item/123</guid>
    • <pubDate>Mon, 12 Sep 2005 18:37:00 GMT</pubDate>
    • <description>[CDATA[ This is the description. ]]</description>
    • </item>
    • <!-- put more items here -->
Make sure you escape any characters that might cause your XML to invalidate, these characters include <, >, & - I like to enclose any content that may contain HTML inside a CDATA section.
Note: In CFML you can use the XmlFormat function to escape special characters in XML.

Step 5: Close Channel and RSS tags. : 
    • </channel>
    • </rss>
Step 6: Validate your feed : Validate your feed using FeedValidator.org.

Note :  You can use various Feed burner\s to test your feeds are working correctly or not : 
Other things to get more information about RRS feeds : 

Encoding - You should include the encoding in your Content-Type HTTP header, and in the XML declaration.
Styling - If you want to make your RSS feed look a little nicer you can CSS stylesheet for your RSS feed.
Categories - It's a good idea to include category tags in your RSS feeds as well, these go inside the item tag. You can give an item multiple categories by adding a tag for each one.
Above are the basic information by which you can create rss feed for your website, You can go and Check the RSS 2.0 Specifications for more info.
Thank You Very Much fro Reading the Post.

Aug 6, 2011

What is Latent Semantic Indexing or Latent Semantic Analysis?

LSA : Latent Semantic Analysis
LSI : Latent Semantic Indexing
Keywords : latent semantic indexing, LSI, singular value decomposition, SVD, eigenvectors, documents, queries, cosine similarity, term count mode.
Latent Semantic Analysis (LSA), also known as Latent Semantic Indexing (LSI) literally means analyzing documents to find the underlying meaning or concepts of those documents. If each word only meant one concept, and each concept was only described by one word, then LSA would be easy since there is a simple mapping from words to concepts.
LSI or LSA is an obvious method of retrieving relevant pages is by matching the terms of a search query with the same text found in all web pages.
How Latent Semantic Analysis Works : 
Latent Semantic Analysis arose from the problem of how to find relevant documents from search words. The fundamental difficulty arises when we compare words to find relevant documents, because what we really want to do is compare the meanings or concepts behind the words. LSA attempts to solve this problem by mapping both words and documents into a "concept" space and doing the comparison in this space.

Since authors have a wide choice of words available when they write, the concepts can be obscured due to different word choices from different authors. This essentially random choice of words introduces noise into the word-concept relationship. Latent Semantic Analysis filters out some of this noise and also attempts to find the smallest set of concepts that spans all the documents.

In order to make this difficult problem solvable, LSA introduces some dramatic simplifications.
  • Documents are represented as "bags of words", where the order of the words in a document is not important, only how many times each word appears in a document.
  • Concepts are represented as patterns of words that usually appear together in documents. For example "leash", "treat", and "obey" might usually appear in documents about dog training.
  • Words are assumed to have only one meaning. This is clearly not the case (banks could be river banks or financial banks) but it makes the problem tractable.

Google + Business Profiles and Place Pages Updates

Here is a quick update on Google+ and businesses:
" Google encourages reviews "

Small businesses should be aware of two major developments from Google.

For starters, I don't know if you've been keeping up with all of the Google+ news, but the company has been shutting down the profiles of those that have been created for businesses. Right now, Google doesn't want businesses using the service in its current incarnation (which is still in testing mode).


A few weeks ago we mentioned we would be doing a test of business profiles and asked people interested to apply. Believe it or not we actually had tens of thousands of businesses, charities, and other organizations apply to take part from all over the world. Many of you have reached out to me personally through Google+, e-mail, chat, and even other Googlers. Thank you. Your response has been humbling.

With so many qualified candidates expressing intense interest in business profiles, we've been thinking hard about how to handle this process. Your enthusiasm obligates us to do more to get businesses involved in Google+ in the right way, and we have to do it faster. As a result, we have refocused a few priorities and we expect to have an initial version of businesses profiles up and running for EVERYONE in the next few months. There may be a tiny handful business profiles that will remain in the meantime solely for the purpose of testing how businesses interact with consumers. 

In the meantime, we ask you not to create a business profile using regular profiles on Google+. The platform at the moment is not built for the business use case, and we want to help you build long-term relationships with your customers. Doing it right is worth the wait. We will continue to disable business profiles using regular profiles. We recommend you find a real person who is willing to represent your organization on Google+ using a real profile as him-or-herself. 

All of us on the Google+ effort are delighted by your engagement with this project - thank you all for taking the time to apply and offer such incredibly useful feedback. 

Separately, Google has made some changes to its Place Pages for local search. It will be interesting to see how they integrate Place Pages with Business Profiles in Google+. With the new version of Place Pages, there is a prominent "write a review" button at the top, encouraging users to participate and talk about businesses. If your customer service isn't top notch, this could hurt you. 

Keep it developing!

Aug 5, 2011

Google + Business Profiles and Place Pages Updates

Here is a quick update on Google+ and businesses:
" Google encourages reviews "

Small businesses should be aware of two major developments from Google.

For starters, I don't know if you've been keeping up with all of the Google+ news, but the company has been shutting down the profiles of those that have been created for businesses. Right now, Google doesn't want businesses using the service in its current incarnation (which is still in testing mode).
 

A few weeks ago we mentioned we would be doing a test of business profiles and asked people interested to apply. Believe it or not we actually had tens of thousands of businesses, charities, and other organizations apply to take part from all over the world. Many of you have reached out to me personally through Google+, e-mail, chat, and even other Googlers. Thank you. Your response has been humbling.

With so many qualified candidates expressing intense interest in business profiles, we've been thinking hard about how to handle this process. Your enthusiasm obligates us to do more to get businesses involved in Google+ in the right way, and we have to do it faster. As a result, we have refocused a few priorities and we expect to have an initial version of businesses profiles up and running for EVERYONE in the next few months. There may be a tiny handful business profiles that will remain in the meantime solely for the purpose of testing how businesses interact with consumers. 

In the meantime, we ask you not to create a business profile using regular profiles on Google+. The platform at the moment is not built for the business use case, and we want to help you build long-term relationships with your customers. Doing it right is worth the wait. We will continue to disable business profiles using regular profiles. We recommend you find a real person who is willing to represent your organization on Google+ using a real profile as him-or-herself. 

All of us on the Google+ effort are delighted by your engagement with this project - thank you all for taking the time to apply and offer such incredibly useful feedback. 

Separately, Google has made some changes to its Place Pages for local search. It will be interesting to see how they integrate Place Pages with Business Profiles in Google+. With the new version of Place Pages, there is a prominent "write a review" button at the top, encouraging users to participate and talk about businesses. If your customer service isn't top notch, this could hurt you. 

Keep it developing!

May 31, 2011

How to Add FeedFlare Sharing Buttons to your Blogger Blog?

Really, You want a good sharing button into your Blog Follow My Instructions.

In order to add FeedFlare to your blog, you'll need to insert a small piece of code into your template. Just follow my short steps.
  • Sign in to Blogger.
  • For the blog to which you're adding FeedFlare, click "Manage Template" or "Manage Layout".
  • Copy this Your FeedFlare code.  E.g.     <script expr:src='"http://feeds.feedburner.com/~s/yourfeedburnerurl?i=" + data:post.url' type="text/javascript" charset="utf-8"></script>
  • In Blogger, Go to "Edit HTML".
  • Click the "Expand Widget Templates" box above and to the right of the template code.
  • In your template code, scroll to <div class='post-footer'>. (Search this Code).
  • Paste the Copied code just below <div class='post-footer'>
  • Click [Save Template].
Enjoy Your Shared Blogging ...

May 26, 2011

How to Remove Blogger Blog Navigation Bar From Your Blog ?

So today you are also Exited to remove your Blogger Navigation Bar Finally.
Bloggers like to customize their own blog design by tweaking the HTML and CSS code. Have you ever thought that “My template is so pretty, but I don’t want the blogger navigation bar show on the top of the page, it just ruin my design” ?How to Remove Bloggers Blog Navigation Bar ?
I had seen many of the blogger BlogSpot webmasters still not removing their navigation bar in their blogs. I hope this post will help those new blogger webmasters who don’t know any coding at all.

Why You Remove Navigation Bar From Blog?
Main Cause to remove Navigation Bar :
  • Top Navigation Bar provides Escape Route for your visitors to another blogs.
  • Removing navigation bar in blogger blogs gives some professional look to your blog.
  • It Leave more space on top of your blog it can be used for other customization tasks.
  • Removing navigation bar will help you to get more reputation from your readers.

Now How to remove Steps?
You can remove the navigation bar very easily in blogger blog. all you need to do is to just follow the below steps.
  • Log in to your blogger dashboard
  • Click on layout/Design then Select Edit HTML
  • Just copy below code in to your HEAD section of template and preview it.
      #navbar-iframe {display: none !important;}

Now save the template thats it ,you are  done !! If you want to revert it back in blogger style just remove the above code that we used to hide the Navigation bar.
A Children’s can do this one !! why can’t you? Try this out today it self. Make sure you backed up your template before applying the code.

So Now Your Blog has Some Professional Look.
Enjoy Blogging ..............
My Sample Blog Without Navigation Bar:  http://chandankrmehta.blogspot.com