 |
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
|
|
|
|
|

April 16th, 2007, 11:34 PM
|
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

April 17th, 2007, 01:14 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

April 22nd, 2007, 09:32 PM
|
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

April 22nd, 2007, 09:35 PM
|
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

April 23rd, 2007, 02:26 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

April 24th, 2007, 01:01 AM
|
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

April 26th, 2007, 01:49 AM
|
|
Authorized User
|
|
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|
 |