GlowHost Web Hosting Forums  

Go Back   GlowHost Web Hosting Forums > In The Lounge > Programming Talk
Register Forum FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 06-24-2008
bdominick's Avatar
Practically a GlowRu
 
Join Date: Dec 2007
Posts: 66
Rep Power: 17
bdominick is on a distinguished road
Default

Hi Lynne. I'm so sorry I missed the notice about your response here. I'll try to pay closer attention.

This is quite the little mess, but it looks like you've got at least some of it figured out. Are you trying to display from mutliple RSS feeds (one for each client?) to make it appear like the original table in client_news.htm? If so, that might be tricky -- this script seems designed to just deal with one feed at a time. I've never really messed with ASP, so my help will be of limited value, I'm afraid. But we might need to figure out how to loop this whole thing, or turn it into a function we can call in a loop, even. But that's definitely beyond my capacities with ASP... :-(

The same problem limits me re the description truncation problem, but I know the basics of what you'll need to do. You want to limit the length of the {DESCRIPTION} text. The brute-force way to do this is using a Left() function, which truncates everything after X characters on the left end of a string (beginning of a string of characters). In this case, I would try changing line 110 to:

Code:
Response.Write Replace(ItemContent,"{DESCRIPTION}",Left(RSSDescription,80))
Where 80 is the number of characters you want displayed.

Let me know if you're still struggling with this and I'll see if I can help some more. I could use the karma ;-)

Brian
__________________
Brian Dominick
| WebRoot Solutions
| Server Administrator, Software Developer
http://mywebroot.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 07-15-2008
rlhanson's Avatar
Master Glow Jedi
 
Join Date: Aug 2007
Location: Chapman, Kansas
Posts: 347
Rep Power: 35
rlhanson will become famous soon enough
Default

Brian - Thanks so much for your response! Sorry I was delayed also!

I tried to do the limited characters and it just shows the beginning of the enewsletter (like the top of a web page). lol

I'm thinking maybe I should try a test message in one of icontact's templates and look at the code - maybe I can figure out what tag to place in the one's I'm creating to get a headline out of it?

I'll let you know as I mess with it a bit. For now, I'm updating "old-school" style. LOL
__________________
Thank you,
Lynne Hanson
RL Hanson-Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 07-15-2008
bdominick's Avatar
Practically a GlowRu
 
Join Date: Dec 2007
Posts: 66
Rep Power: 17
bdominick is on a distinguished road
Default

Hmm, I'm not sure what you mean regarding what happened from my recommended code. Feel free to post more code / links to demonstrate, if you want. Good luck!
__________________
Brian Dominick
| WebRoot Solutions
| Server Administrator, Software Developer
http://mywebroot.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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

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



All times are GMT -5. The time now is 07:23 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO
Copyright 2000-2007 GlowHost.com