Welcome close

We've made some changes!

As you may have noticed, we've made some changes to the DevCenter to include the new Exchange site, a code community for Ektron developers. You may use the same username and password to login for both the Exchange and DevCenter. Your DevCenter profile has moved over to the Exchange site. You also may notice we have removed some profile functionality in favor of new functionality, including Activity Streams. We welcome your feedback about the site on the Exchange forum.

SEARCH : searchSite
This SectionSite Wide
SEO_version8 

RSS Feed Print Category View
About Rss Feed
mary jessicka
Posted: Tuesday, February 9, 2010 7:45 AM
Joined: 2/9/2010
Posts: 18


i entered the code for rss as i hav taken from tis site. The code as follows:

 

Object rssData = new Object();
        Ektron.Cms.UI.CommonUI.ApplicationAPI objRss = new Ektron.Cms.UI.CommonUI.ApplicationAPI();
        rssData = objRss.ecmRssSummary(142, false , "datecreated,desc", 15, "");//FolderID, Recursive, Order By, Record Per Page, Summarytype
        Response.ContentType = "text/xml";
        Response.Write(rssData);

 

But m getting an error it says:

Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://localhost:4688/mss_new/rss_news.as...

can anyone help me.


eGandalf
Posted: Tuesday, February 9, 2010 1:30 PM
Joined: 9/13/2006
Posts: 2367


Make sure you remove any HTML code from the .aspx page. Try it with nothing in the .aspx page except the @Page directive.



http://www.ektron.com/services/


mary jessicka
Posted: Tuesday, February 9, 2010 11:31 PM
Joined: 2/9/2010
Posts: 18


Thank u! I got it...

 

Jump to different Forum... 






Register for Synergy 2010

Articles
Design without Borders, yet with Structure
CMS400.NET and Adobe Flex
GeoMapping
EkML Ektron Markup Language
Taxonomy

[First] [Previous] [Next] [Last]


See All Articles