In my asp.net 3.5 C# application I had RSS feed in some of my web pages.I am using SyndicationItem object to prepare RSS feed and using using System.ServiceModel.Syndication dll to prepare RSS page. I want them to be auto discoverable i.e The RSS feed button in IE at the browser level should get highlighted when we go to the page with RSS feed. Let me know how to do this
How to make RSS feed as auto discoverable in asp.Net
438 Views Asked by hyma At
2
There are 2 best solutions below
1
John
On
It depends how you define auto discoverable.
If you are referring to the way a web browser will place an RSS feed icon in the address bar (like on SO) then you need to place the following code into the HEAD section of a web page the user is viewing:
<link rel="alternate" type="application/atom+xml" title="Feed Title" href="http://rss-URL">
The code does not go in to the RSS feed. This approach will also allow search engines to find your feed.
It is also worth passing your feed via the http://validator.w3.org/feed/ as this will check it is valid and give you extra tips to ensure it is formatted in the best way.
Related Questions in FORMATTING
- C++: Re-use line printed to console
- NSAttributeString - How to remove auto formatting for a date or time item?
- Bifurcate a string, removing the middle of the string instead of end
- Use DateTime format in a class but restrict time tokens
- Doesn't change the format of columns to date
- How do I convert a double into an n-character string using exponential notation?
- Java Integer Pyramid
- proper way to get nice string from exception
- How to edit text in columns?
- Simple and clean java float to string conversion
- Having trouble with list post-processing
- Formatting equations?
- Looking to export the content from a website into doc files
- SAPUI5 local scope object as formatter function parameter
- DataTable contains strings with Hashtags when imported from .xlsx instead of .xls
Related Questions in RSS
- Open a webpage on list view click
- Media content tag missing from rss feed generated by Rome 1.0
- How do I get Facebook Group Events into WordPress?
- Joomla 3 RSS url syntax
- Microsoft.XMLDOM - Facebook Page RSS - System error: -2147012866
- Show only headers in Octopress RSS
- Can I add RSS-less websites on Feedly or other RSS-Reader?
- Fatal error: Call to a member function getElementsByTagName() WordPress 4.2.2 RSS Feed
- Parse RSS modification
- Parse RSS with groovy
- How can stop rss parser after fixed numbers of items?
- How to customize WordPress RSS feed
- Opening and Ending Tag mismatch error while creating Rss
- How to paginate with string provided in JSON result?
- Get full resolution image url from reddit post with jquery?
Related Questions in BROWSER
- Why does Angular send Http Request Method: Options before POST?
- Trick browser into resizing the viewport dimensions by 1px
- Why is it so hard to style <select> and <option> elements?
- Change writing language at browser
- Selenium stops running after click() function runs
- Are there any debugging tools for the Opera Mini mobile browser?
- place 1 label top, 1 input bottom and 2 buttons left
- Why clear cache does not work with all browsers?
- Opening Browser Instances from different Vendors
- Browser's not displaying images correctly
- Open a html document with php
- How to run a .jar inside browser?
- Why/how does the browser decide ☃.net goes to xn--n3h.net
- How do you invoke another app from a child browser
- Firefox and SSL pages - takes very long on certain sites
Related Questions in AUTODISCOVERY
- Autodiscovery url for same domain users
- ElastiCache Autodiscovery Magento
- How can you add the feature "see other computer on this local network"?
- Zend Framework Classmap not respected by autodiscovery?
- Discover Already known domains to netflix eureka
- Why does Celery task autodiscovery never trigger under Django?
- Hazelcast's IMap stopped working after upgrading to version 5.1.1 on K8S
- Implementation of Hazelcast 5.0.2 embedded in application fails to detect itself and second pod when migrated to AWS EKS Infrastructure
- Implementing node discovery on Kubernetes
- Identify type of devices in an IT Environment using C# (i.e. Windows, Linux, Network etc)
- IP Autodiscovery
- Outlook App does not respect autodiscover.xml file to configure mailbox (iOS and Android)
- Laravel clear package auto-discovery cache of composer packages
- How can two services discover each other without static addresses?
- When exactly should I refresh the EWS URL while using managed API
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You need to put the following meta tag into the header of your HTML page: