 | |  |
 |

jferry
User
Nov 7, 2006, 8:30 AM
Post #1 of 3
(308 views)
Shortcut
|
|
Syndicate/RSS Feed Field
|
Can't Post
|
|
Hello, Our site is largely made from links to news articles posted elsewhere. However we create individual articles for each link instead of a simple list so we can embed these individual articles using SSI into various templates to build email newsletters. We use a custom field ($art_field5$) to include the hyperlink to the actual article. So that syndicate links opened the actual article vs. our built page, the code within the prior syndicate.js looked as below: syndicate.article_title[ syndicate.index ] = '$art_name_je$'; syndicate.article_url[ syndicate.index ] = '$art_field5$'; syndicate.article_date[ syndicate.index ] = '$art_date_je$'; syndicate.article_summary[ syndicate.index ] = '$art_summary_je$'; Now the snydicate.js looks like: syndicate.article_title[ syndicate.index ] = '$article.title:javascriptSafe$'; syndicate.article_url[ syndicate.index ] = '$published.articles.url$'; syndicate.article_date[ syndicate.index ] = '$article.date:javascriptSafe$'; syndicate.article_summary[ syndicate.index ] = '$article.summary:javascriptSafe$'; syndicate.index++; With this code the syndicate opens the small page we've built vs linking directly to the actual article. Ideally I would like the syndicate.article_url to connect to art_field5. How can I do this? Do I need to create another Publish Rule? Thanks, jferry
|
|
|  |
 |

Dave
Staff
/ Moderator

Nov 7, 2006, 4:03 PM
Post #2 of 3
(287 views)
Shortcut
|
|
Re: [jferry] Syndicate/RSS Feed Field
[In reply to]
|
Can't Post
|
|
Have you tried: syndicate.article_url[ syndicate.index ] = '$article.art_field5:javascriptSafe$'; Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

jferry
User
Nov 8, 2006, 6:44 AM
Post #3 of 3
(267 views)
Shortcut
|
|
Re: [Dave] Syndicate/RSS Feed Field
[In reply to]
|
Can't Post
|
|
Ahhh Dave, If only I were as smart as you. That did it. Thanks, jferry
|
|
|  |
|