
jferry
User
Nov 7, 2006, 8:30 AM
Post #1 of 3
(683 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
|