LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2004, 09:08 PM   #1
fibbi
Member
 
Registered: Sep 2003
Distribution: gentoo
Posts: 101

Rep: Reputation: 16
alternative way to write an ampersand (or another fix to my superkaramba problem)?


Hey everyone,

I use superkaramba to embed an index of my friends latest blog entries (via rss) on my desktop. It works fine, but the one problem i've been having is that, for blogs on xanga, the urls of individual entries are formatted as follows:
http://www.xanga.com/item.aspx?tab=w...&uid=XXXXXXXXX

and superkaramba seems to choke on the ampersand, making the link it embeds on the desktop:

http://www.xanga.com/item.aspx?tab=weblogs


a snipit of code inside the .theme file is as follows:

TEXT X=0 Y=17 H=13 W=325 SENSOR=PROGRAM PROGRAM="/home/fibbi/install/visuals/karamba/NewsTicker/scripts/rssnews.pl Tom" LINE=3
CLICKAREA X=0 Y=17 W=300 H=13 ONCLICK="konqueror %v" SENSOR=PROGRAM PROGRAM="/home/fibbi/install/visuals/karamba/NewsTicker/scripts/rssnews.pl Tom" LINE=4


As you can see, the theme calls the script rssnews.pl and gives it the argument "Tom" (Or the name of whoever's blog it wants the feed from, and the script returns this:

XXXXXXXXXs Xanga Site
http://www.xanga.com/XXXXXXXXXXXXXXX
4/13/2004 8:12:24 PM
http://www.xanga.com/item.aspx?tab=w...id=XXXXXXXXXXX
4/13/2004 3:25:43 AM
http://www.xanga.com/item.aspx?tab=w...uid=XXXXXXXXXX
4/13/2004 3:10:03 AM
http://www.xanga.com/item.aspx?tab=w...uid=XXXXXXXXXX
4/12/2004 6:44:12 PM
http://www.xanga.com/item.aspx?tab=w...&uid=XXXXXXXXX
4/12/2004 4:33:30 PM
http://www.xanga.com/item.aspx?tab=w...X&uid=XXXXXXXX


(the X's are there just to preserve the anonymity of my friends)




So, It looks like i have 2 options: I can modify the perl script to replace the & with an alternative string that does the same thing(i dont know what this would be though), or i could fix the SuperKaramba problem itself.



Anyone know how to do either of the two?


Thanks,
-fibbi
 
Old 04-23-2004, 03:51 PM   #2
ViNsAniTy
LQ Newbie
 
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Slackware 9.1
Posts: 28

Rep: Reputation: 15
hmmmm, could you possibly use http://www.tinyurl.com to remedy your problem? That's the simplest way I can think of doing it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
superkaramba problem dave`2005 Linux - Software 2 09-12-2005 12:59 PM
all attempts to fix the problem failed... can someone help me fix partition space? foreverdita Linux - Enterprise 2 05-11-2005 10:02 AM
kppp problem, need to fix it or find kppp alternative trisha Linux - Networking 0 08-08-2004 04:04 PM
Problem with superkaramba Jouna- Linux - Software 1 05-15-2004 07:01 PM
superkaramba problem THX1138 Linux - Software 4 03-20-2004 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration