Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 16th, 2007, 11:34 PM
Authorized User
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Extend CMS: How to create rss in Default page?

I don't want to use the SiteMenu control but want to create a rss on the Default page. I can do this using XML but not the SQL database. I prefer to use the FCKEditor, much more flexible and nicer layout.

How can you create a rss on Default page that link to the article in ContentDetail pages in Database and don't have to use the SiteMenu control? When user clicks on the news link on the frontpage, they go straight to the article?

Thank you so much.

 
Old April 17th, 2007, 01:14 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I am not sure I understand what you mean with "a RSS on Default page". Since RSS is XML, you can't display it on the homepage as is.

Maybe you want to transform an external RSS in a user readable form? In that case, take a look here:

http://blogs.msdn.com/dmitryr/archiv...26/561200.aspx

Otherwise, can you please explain in much more detail what you want?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old April 22nd, 2007, 09:32 PM
Authorized User
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar

Thank you so much for taking my "call"!! :)

What I mean is very simple, I want to create a link to the Detail Article in the front page just like CNN news page. When user click that link, the page shows the article.
When I create new article in the database, they automatically shown the link in the front page. I can do this in XML by use <hyperlink> to the database but don't know how to create a direct link from the Database in SQl.

Thanks

 
Old April 22nd, 2007, 09:35 PM
Authorized User
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One more thing please.

The problem with XML is that, the body content is only show text but not in html form like FCK editor use, so that I can't create XML type with FCK. I like to show the news detail with picture and video or audio

 
Old April 23rd, 2007, 02:26 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I am still not sure I understand. You say this:

"When user click that link, the page shows the article."

That's already what the CMS does, isn't it? What else do you want it to do? Can you elaborate?

I also don't understand this:

"I can do this in XML by use <hyperlink> to the database but don't know how to create a direct link from the Database in SQl."

What XML are you talking about? <hyperlink> seems to refer to an <asp:hyperlink> hyperlink in the markup of the page, which doesn't have anything to do with XML in the browser.

Finally, if you want to wrap HTML in XML, you need to use a CData construct: http://www.w3schools.com/xml/xml_cdata.asp

HtH,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old April 24th, 2007, 01:01 AM
Authorized User
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Imar:

Again, thank you so much for spending time reading and helping out.

How can I show the Title of the news article in the Home page, that link to the article.

 
Old April 24th, 2007, 06:05 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Take a look at the Read More link used in the CMS. You can use the exact same concept.

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old April 26th, 2007, 01:49 AM
Authorized User
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just wanna say thank you Imar. In the world of .net we really need people like you. I'm glad I bought the book from you.

 
Old April 26th, 2007, 06:16 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're more than welcome.

Were you able to make it work?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
redirect to page other than default page sarah lee ASP.NET 1.0 and 1.1 Basics 3 December 15th, 2006 05:45 PM
no rss information on default page kherrerab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 24 November 7th, 2006 01:45 PM
Transformation htm of page in rss Serjio RSS and Atom 0 August 6th, 2006 02:14 AM
Using asp2htm to create a home grown CMS elfranko Classic ASP Basics 2 July 20th, 2005 03:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.