Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 16th, 2007, 11:34 PM
Authorized User
 
Join Date: Dec 2006
Location: , , .
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.

  #2 (permalink)  
Old April 17th, 2007, 01:14 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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.
  #3 (permalink)  
Old April 22nd, 2007, 09:32 PM
Authorized User
 
Join Date: Dec 2006
Location: , , .
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

  #4 (permalink)  
Old April 22nd, 2007, 09:35 PM
Authorized User
 
Join Date: Dec 2006
Location: , , .
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

  #5 (permalink)  
Old April 23rd, 2007, 02:26 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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.
  #6 (permalink)  
Old April 24th, 2007, 01:01 AM
Authorized User
 
Join Date: Dec 2006
Location: , , .
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.

  #7 (permalink)  
Old April 24th, 2007, 06:05 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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.
  #8 (permalink)  
Old April 26th, 2007, 01:49 AM
Authorized User
 
Join Date: Dec 2006
Location: , , .
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.

  #9 (permalink)  
Old April 26th, 2007, 06:16 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 01:32 AM.


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