Odelya, Thanks. Your hint gave some help to find out what the problem was. The entry ended being like this:
http://digg.com/remote-submit?phase=2&url=$url.entry($entry.anchor)' +'&title=$entry.title' + '&bodytext=$entry.text.substring(0,50)' +'...', 'digg', 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes' );">DiggIt!</a> The velocity markups in your first reply were without quotes, thus they were not string literals. This caused the URL or the text to be dumped in the HTML and it was not part of the URL of the new window. You example: http://digg.com/remote-submit?phase=2&url=' + escape(window.location.href) + '&title=' + $entry.text + '&bodytext=' + $entry.text.substring(0,300) +'', 'digg',toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes'); I got it fix now. Thank you. ----- Original Message ---- From: Odelya YomTov-Glick <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, May 1, 2008 10:12:53 AM Subject: RE: Social Bookmark Links Hey, You have to replace articleTitle with the text of the post. For example: $entry.text -----Original Message----- From: Angel Vera [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 2:07 PM To: [email protected] Subject: Re: Social Bookmark Links Odelya, I am not a HTML expert..yet.. :) Can you help me find out what is wrong with my links. I have added them as per your instructions: <a href="" onclick="window.open('http://reddit.com/submit/?url=' + escape(window.location.href) + '&title='+articleTitle+ '','reddit','toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizabl e=yes')">reddit</a> But nothing happens. Here is the linkt o my website: http://www.gunfus.com/roller/ ----- Original Message ---- From: Odelya YomTov-Glick <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, May 1, 2008 8:20:23 AM Subject: RE: Social Bookmark Links You have to add Window.open(theURL) -----Original Message----- From: Angel Vera [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 1:12 PM To: [email protected] Subject: Re: Social Bookmark Links What do you mean by create a popup link? I tried putting the text below in a <a href="" onclick="javascript:_whatever_stuff_yousent_">Digg it!</a> but that didn't work to well. ----- Original Message ---- From: Odelya YomTov-Glick <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, May 1, 2008 8:08:14 AM Subject: RE: Social Bookmark Links 'http://del.icio.us/post?v=4&partner=nyt&noui&jump=close&url=' + escape(window.location.href) + '&title='+ articleTitle+ '&bodytext='+ articleLeadin+'', 'delicous', 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes' 'http://reddit.com/submit/?url=' + escape(window.location.href) + '&title='+ articleTitle+ '', 'reddit', 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes' 'http://www.facebook.com/sharer.php?u=' + escape(window.location.href) + '&t=' + articleTitle, 'facebook', 'toolbar=0,status=0,height=436,width=646,scrollbars=yes,resizable=yes' 'http://www.newsvine.com/_wine/save?ver=2&popoff=1&u=' + escape(window.location.href) + '', 'Newsvine', 'toolbar=0,status=0,height=436,width=646,scrollbars=yes,resizable=yes' Create for each one an image on the local machine. And a href it. -----Original Message----- From: abhay srivastava [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 12:59 PM To: [email protected] Subject: RE: Social Bookmark Links great !! what are the links for other bookmarking sites ? or does follow a standard pattern ? --- Odelya YomTov-Glick <[EMAIL PROTECTED]> wrote: > Very easily - > Create a popup link like this; > http://digg.com/remote-submit?phase=2&url=' + > escape(window.location.href) + > '&title=' + $entry.text + '&bodytext=' + > $entry.text.substring(0,300) +'', > 'digg', > 'toolbar=0,status=0,height=450,width=650,scrollbars=yes,resizable=yes'); > you can play arround with the variables. > > -----Original Message----- > From: A Sunley [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 01, 2008 12:18 PM > To: [email protected] > Subject: Social Bookmark Links > > > Greetings bloggers, > > Using Roller (4.0), is it possible to attach a signature to each blog > post with the links to add bookmarks on the various social bookmarking > sites like Digg and del.icio.us? > > We use Apache Roller and we're interesting adding these types of links > (similar to http://blog.fring.com/uk/). Is this capability built into > Roller, or do we need to implement it ourselves? If so, any tips on > how we might go about it? > > Thanks, > Alan. > > > -- > View this message in context: > http://www.nabble.com/Social-Bookmark-Links-tp16993193s12275p16993193.html > Sent from the Roller - User mailing list archive at Nabble.com. > > > > > > > **************************************************************************** > ******** > This footnote confirms that this email message has been scanned by > PineApp Mail-SeCure for the presence of malicious code, vandals & > computer viruses. > **************************************************************************** > ******** > > > > > --- Winners don't Quit,Quitters don't Win ____________________________________________________________________________ ________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ **************************************************************************** ******** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. **************************************************************************** ******** __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com **************************************************************************** ******** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. **************************************************************************** ******** __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ **************************************************************************** ******** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses. **************************************************************************** ******** __________________________________________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
