View Full Version : Feed Links
web-rocket
10-23-2007, 12:08 AM
Ok need some help guys. The feeds work great but my only problem is the link-back to the original site with the news does not show up on the details page of the article. It shows up on the news and the main page but not the actual page that has the article on it.
So my question is... how can I get this link on the article page itself.
Micha
10-23-2007, 08:29 AM
Go to your templates/xhtml/article/default.tpl and right after this line of code:
<vte:value select="{article.get_body}" />
(should be around line 47)
place this vte code:
<vte:if test="{article.get_link}">
<a class="visit" href="{article.get_link}"><img src="{VIVVO_THEME}img/external.png" alt="{LNG_VISIT_WEBSITE}"/></a>
</vte:if>
web-rocket
10-23-2007, 02:53 PM
Go to your templates/xhtml/article/default.tpl and right after this line of code:
<vte:value select="{article.get_body}" />
(should be around line 47)
place this vte code:
<vte:if test="{article.get_link}">
<a class="visit" href="{article.get_link}"><img src="{VIVVO_THEME}img/external.png" alt="{LNG_VISIT_WEBSITE}"/></a>
</vte:if>
THANK you works great!
Simon
11-30-2007, 05:56 PM
<vte:if test="{article.get_link}">
<a class="visit" href="{article.get_link}" target="blank"><img src="{VIVVO_THEME}img/external.png" alt="{LNG_VISIT_WEBSITE}"/></a>
</vte:if>
Thanks Micha, this works great.
If you want the link to the review to open in a new window, add the code in red
ruven
04-03-2008, 09:11 PM
Does this still work with Vivo 4.03?
Micha
04-04-2008, 08:05 AM
Does this still work with Vivo 4.03?
Of course it does.
dhondu
12-25-2008, 08:09 AM
THANK you works great!
<vte:if test="{article.get_link}">
<a class="visit" href="{article.get_link}" target="blank"><img src="{VIVVO_THEME}img/external.png" alt="{LNG_VISIT_WEBSITE}"/></a>
</vte:if>
Thanks Micha, this works great.
If you want the link to the review to open in a new window, add the code in red
thanks it work out great but is there any way when ever it goes to any external website it gives header of your website (might be frame with your website) so when user wants to go back to your site they can easily do that insted of using back button on broweser to go to original site?
example www.samachar.com on this site it runs on RSS feed .so when you click on any link it opens in new window as well on that new window there is a header for samachar.com
shady101
12-25-2008, 11:48 AM
dhondu
real good idea
i'd be interested in this if it could be happen
noncasus
12-28-2008, 08:34 AM
that is a nice idea dhondu, but is it legal? (just wondering)
dhondu
12-28-2008, 03:14 PM
that is a nice idea dhondu, but is it legal? (just wondering)
you are not changing anything in original content so i don't see any problem in that even one of my site i use same check here (link to adult site) www.s4sq.com and click on adult product
shady101
03-11-2009, 06:29 PM
anyone has any idea's for what dhondu said?
i believe it can be done through <ifram>
so can we try anything new
newsimax
04-04-2011, 09:10 PM
Dhondu ,
I like the idea. On my site i am using magic full rss text extractor script.It helps me to get full text article from most rss feed.
Hope it will help some
here is the link
http://www.getrss.in
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.