Hazırlanan rss feed'i tarayıcının otomatik olarak bulması nasıl sağlanır?

December 25, 2008 at 1:43 PMoozturk

Bir rss feed hazırladınız ve bunu internet explorer, firefox gibi tarayıcıların otomatik bulmasını istiyorsunuz. Öyleyse yazının devamını okumanızı tavsiye ederim.

1. Öncelikle hazırladığınız rss'i response olarak veriyorsanız mutlaka content type belirtmelisiniz. Eğer rss versiyonu olarak 2.0 ya da üstünü kullanıyorsanız application/rss+xml vermelisiniz. Ancak rss 1.0 gibi eski sürüm kullanıyorsanız, yalnızca application/xml verseniz de olur.

    Response.ContentType = "application/rss+xml";

2. Rss feed'in otomatik bulunmasını istediğiniz sayfaların head kısmına aşağıdaki gibi bir satır eklemelisiniz.

    <link rel="alternate" type="application/rss+xml" title="Giybunu.com - Yeni gelen urunler" href="http://www.gıybunu.com/Rss.aspx?NewArrivals" />

3. Birden fazla feed'iniz varsa bunları da aynı ikinci adımdaki gibi ekleyebilirsiniz.

Title belirtirken; dikkat çekici, iyi düzenlenmiş olmasına dikkat etmeli ve eğer birden fazla feed varsa, en çok dikkat çekeceğini düşündüğünüzü en üstte vermelisiniz. Bu sayede takip eden sayısını arttırabilirsiniz.

Posted in: ASP.NET | Rss

Tags: , , , , , , ,

Comments (12) -

Good site, just gave it a bump on Digg.com

Reply

The blog was absolutely fantastic! Lots of great information and inspiration, both of which we all need!

Reply

Right after looking through this article, I pondered exactly the same thing that i often wonder when checking out fresh blogs. What do I think about it? Exactly how does it influence me personally? I am really thankful for the weblog and how it's developed the internet right into a enormous collection of propagated ideas. Surprisingly, AOL brought me here when i was working away at conditioning and medical research. Glad that I stayed around and I will make sure to add your details to my book marks so i can revisit down the road. Bye!

Reply

kmttxbeogamyosa, <a href="http://spaceheaterbuy.com">space heater</a>, feupcFGqDPlKdGabvuLY.

Reply

nininrvezjkujar, <a href="http://katespade.org">kate spade</a>, cnteDVOdDxdOLaRHqRsZ.

Reply

Great website...and cool article man...thanx for the great post...keep on posting such articles... Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.

Reply

yvxbtidlvkytjkq, <a href="http://mattresstopperbuy.com">mattress topper</a>, MIWXdSkevbcLQATypmnu.

Reply

Great site design!!!! Whattheme did you use?

Reply

Where is your rss? I cant find it

Reply

Which dating network has the most users?

Reply

Enjoyed every bit of your blog article.Much thanks again. Want more.

Reply

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading