Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 May 11th, 2007, 10:46 AM
Authorized User
 
Join Date: Apr 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Show small image of products in RssReader

I’d like to show the SmallImage of product at GetProductsRss.
How can I do ?


  #2 (permalink)  
Old May 29th, 2007, 01:07 AM
Authorized User
Points: 176, Level: 3
Points: 176, Level: 3 Points: 176, Level: 3 Points: 176, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2006
Location: , , .
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default



Hey Caster!
I don't know what you trying to achieve exactly.
But i Did something in my website that Shows an RSS feed from Microsoft.com
So I did some research On this Topic.
This exapmple explains how to receive the rss feed from a remote website, and be able to display an images within it.
So once you see it you will understand what i'm talking about.
In general, before you going check out my website with the explanation, keep in mind tha this DataList Control-GridView control receives Information that comming from XML file. Yes in general RSS feed is a simple XML file, with e few attributes whithin it.
So there's a node stuff going on.
<GeneralNode>
<Subnode>SomeInfoHere</Subnode>
<ImageNode>Http://aspspide.biz/Myback.jpg</ImageNode>
</GeneralNode>

So now basicaly once youu have a node with the URL to the image

You will probably
Build some DataListCintrol to show this Info.
It might be something like this:
<asp:Datalist Id ="DataList1" runat ="server">

<itemTemplate>
<!-He you can Put whatever you want--->
htm Tables Divs and so on..
Lets say wi have a table
<table>
<tr>
    <td>

        

     <img src ="<% # XPath(ImageNode)%>" />



    <a href = <%# XPath("comments/url") %> target ="_blank" ><img src = <%# XPath("ImageNode") %> border ="0" /></a>



<a href = "Your Url Go's here" target ="_blank" ><img src = <%# XPath("ImageNode") %> border ="0" /></a>


     </td>
</tr>
</table
</itemTemplate>
</asp:DataList>

Well suppose this is a simple DataList Control
But in many cases it will work with a few main Controls.
To make this Work you will need the following stuff.

You will need the XmlDtaSourceControl
DataListControl, and maybe some XSLT file.
Refer to my example to understand the concept.
I tried to explain this as simple as I could.
So this is a first example that shows how to consume rss feed trom Local file/ And also explains how to put things together.
If you want, you can navigate to the second example, that shows how you can consume RSS feed with the images from Microsoft Website.
I suggest you to start from the first one, to get more clear understanding of how this builded from the inside. It's pretty simple to do, but It took me Month and a half to understand how to put things together, to achieve this result.

Finally You can check the exact same Example but using GridView Control.
 


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
Show image on signature kherrerab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 February 8th, 2007 11:31 AM
Image slide-show Rajarshi HTML Code Clinic 1 February 27th, 2006 06:03 AM
Show high resolution image usamaalam Crystal Reports 0 December 14th, 2005 04:29 PM
show the picture in a small icon on a report Corey Access 1 October 15th, 2005 02:52 PM



All times are GMT -4. The time now is 09:40 AM.


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