I am trying to use an RSS feed to pull articles from an external website. All I want to create is a list of links with a short description. This is working for me, but I'd like to modify the way it displays on the screen. The first problem is that the descriptions are too long. Is there an easy way to limit the number of characters in a description, but not cut it off in mid-sentence? Also, I'm storing both the title/link and description within seperate <td> tags. This is the only way I've been able to get the description to appear. I'd actually like the description to appear below the link as shown:
Link/Title
Short description
This is the code I have for that portion:
Any advice you could provide would be great. Thanks!
Link/Title
Short description
This is the code I have for that portion:
Code:
<tr>
<td valign="top"><a datafld="link" target="_blank"><span datafld="title" /></a></td>
<td><span datafld="description" /></td>
</tr>
Any advice you could provide would be great. Thanks!