Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Images in webfeed?

 

 


WebGuys
User

Aug 9, 2002, 1:05 PM

Post #1 of 6 (3099 views)
Shortcut
Images in webfeed? Can't Post

Is there any way to bring pictures into a custom webfeed? i have some pics in the summary and want to use the webfeed on a different part of the site





thanks


(This post was edited by Dave on Aug 9, 2002, 1:53 PM)


Dave
Staff / Moderator


Aug 9, 2002, 1:57 PM

Post #2 of 6 (3093 views)
Shortcut
Re: [WebGuys] Images in webfeed? [In reply to] Can't Post

I beleive there is actually an undocumented feature for that. Try adding this to /exec/config.ini

[publish]
allow_images_in_webfeed = 1

Dave Edis - Senior Developer
interactivetools.com
 


dana
User

Aug 9, 2002, 5:21 PM

Post #3 of 6 (3084 views)
Shortcut
Re: [Dave] Images in webfeed? [In reply to] Can't Post

hi

did that but something is missing

Program Message

TemplateCell : Template cell 'syndicate/syndicate.js:img_nocaption' is not defined!


Chris
Staff


Aug 9, 2002, 6:30 PM

Post #4 of 6 (3077 views)
Shortcut
Re: [dana] Images in webfeed? [In reply to] Can't Post

Hi there,

You'll need to add templatecells for both images with captions and images without captions to the syndicate.js template file (found in /templates/syndicate/syndicate.js). I pulled these templatecells out of the default article template (/templates/article/default.html):

<!-- templatecell : img_caption -->
<table border=0 cellspacing=2 cellpadding=0 width=$img_width$ align=$img_align$>
<tr><td><img src="$img_url$" height="$img_height$" width="$img_width$" border=1></td></tr>
<tr><td><font class="text10">$img_caption$</font></td></tr>
</table>
<!-- /templatecell : img_caption -->
<!-- templatecell : img_nocaption -->
<table border=0 cellspacing=2 cellpadding=0 width=$img_width$ align=$img_align$>
<tr><td><img src="$img_url$" height="$img_height$" width="$img_width$" border=1></td></tr>
</table>
<!-- /templatecell : img_nocaption -->

Add this HTML to the syndicate.js template. Don't worry about the fact that it's not valid JavaScript, or even where you place it in the file.

Everything should work great!
Chris


WebGuys
User

Aug 10, 2002, 8:25 AM

Post #5 of 6 (3066 views)
Shortcut
Re: [Chris] Images in webfeed? [In reply to] Can't Post

Cool, i will try that, thanks,

Also, is there a way to have 2 web feeds, one public and one private, i want ppl to syndicate my content, but not with pics (major bandwidth issues) the one with pics is for me only....

any ideas?



thanks


Damon
Staff / Moderator


Aug 13, 2002, 4:55 PM

Post #6 of 6 (3021 views)
Shortcut
Re: [WebGuys] Images in webfeed? [In reply to] Can't Post

Hi,

Unfortunately you can't have 2 separate web feeds. The only idea I had is that you may consider using an SSI to include the headline_bycat.shtml file but that doesn't include any images.

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/