 |

WebGuys
User
Aug 9, 2002, 1:05 PM
Post #1 of 6
(2440 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
(2434 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
(2425 views)
Shortcut
|
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
(2418 views)
Shortcut
|
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
(2407 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
(2362 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
|
|
|  |
|