topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 12:49 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: new FARR Plugin : Delicious - built on the Javascript SDK : FScript  (Read 86888 times)

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Another strange thing: When I close one of the two Firefox windows opened by the plugin, Firefox doesn't react on anything typed into the address bar. Only links on the opened page are working then. Very strange. Somehow this opening of two Firefox windows by the plugin makes them dependent upon each other.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
just noticed this double launch is happening for me too.

ecaradec, is it possible that FARR is opening the url AND your plugin is opening it as well?
if so, you might want to let FARR open it, since FARR can be configured to use a user-specified browser rather than the default.

if you prefer to open the url, you just need to tell FARR that you've handled it and it shouldnt.

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
ecaradec, is it possible that FARR is opening the url AND your plugin is opening it as well?
Yes, this is probably that since I didn't tell FARR do not launch result. However, I didn't notice the problem because farr does not launch url on my desktop. Certainly something with my desktop configuration. I remember that it surprised me that setting the type to URL did not automatically launched the browser.

How does FARR launch urls ?

I made a version that tell FARR to not launch url :
Download links removed : use link in the first message.

Blog & Projects : Blog | Qatapult | SwiffOut | FScript
« Last Edit: January 01, 2008, 07:33 AM by ecaradec »

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
I made a version that tell FARR to not launch url :
http://e.craft.free....elicious.1.00.04.rar
The archive seems to be corrupted. It's also much bigger than the previous ones (451 KB instead of  94KB)

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
I'm sorry. I changed the way I upload files and it upload as a text file. The address didn't change.
Download links removed : use link in the first message.
Blog & Projects : Blog | Qatapult | SwiffOut | FScript
« Last Edit: January 01, 2008, 07:33 AM by ecaradec »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
ecaradec,
you might want to make an update file so that farr can check when there are updates and grab them automatically.  if you look at the other plugins youll see how, just create a .dcupdate file.

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
ecaradec,
you might want to make an update file so that farr can check when there are updates and grab them automatically.  if you look at the other plugins youll see how, just create a .dcupdate file.
Yes you are right.

You may have miss my question mouser :
How does FARR launch urls ?

Blog & Projects : Blog | Qatapult | SwiffOut | FScript

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
it has 2 ways.
if a custom browser is set in options, it launches that directly and passes url as commandline argument.
if not, my memory is it just calls shellexec "open" on the url.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
ecaradec: fantastic plugin! btw, is it possible to view all the assigned tags? something like farr's agroups or aplugins.

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
Here version 1.0.0.5. the dcupdate in on now.
http://e.craft.free....icious/delicious.zip

I figured out the issue with the double farr launch. My little son found a way to fill the browser field with garbage and this was preventing the url from launching. There should be one launch only now.
Thank mouser.

ecaradec: fantastic plugin! btw, is it possible to view all the assigned tags? something like farr's agroups or aplugins.
simply add +sall on the command line to get all results. Is it what you mean ?
Blog & Projects : Blog | Qatapult | SwiffOut | FScript

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
ecaradec: fantastic plugin! btw, is it possible to view all the assigned tags? something like farr's agroups or aplugins.
simply add +sall on the command line to get all results. Is it what you mean ?

+sall -> "show all" but i was trying to get something like "view all the tags" as shown on the del.icio.us page. i'm attaching the screenshot to explain further.

ws-delicio-tags-.png

s.newave

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 124
    • View Profile
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #36 on: January 03, 2008, 01:11 PM »
Wow, works great. Even better then the ff extension i have been using.

I can't tell you how long i have been waiting for someone, somewhere in ANY launcher to make a useful delicious plugin. My only minor request would be to have an option to include the favicons of the site which i think helps you visually find the site you are looking for. Although this might potentially slow down the search too much.

Great work though :Thmbsup:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #37 on: January 03, 2008, 01:16 PM »
include the favicons of the site which i think helps you visually find the site you are looking for. Although this might potentially slow down the search too much.

one half-solution would be simply to have the plugin keep a favico subfolder, and look in there if the favico exists, and use it if so.  that way users who wanted to could create or download favico's for their site and have them used.

actually i wonder if it might not be nice to add as a feature of FARR some way for FARR to be asked to download and show favico's for sites in the background, and store them in a central place, where ALL plugins could ask to optional grab and show them.

in other words, i could add a function to the sdk which asked farr to return the path of a (favico) icon file for a site, and that would result in farr returning the icon path if it exists, or returning a placeholder for the time being but queing up a download of the real favico for later.  pretty nice idea.

the key motivation here is that now ALL plugins could be able to easily display site icons without having to add more then 1 line of code to their plugins.

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #38 on: January 04, 2008, 12:30 PM »
Wow, works great. Even better then the ff extension i have been using.
I can't tell you how long i have been waiting for someone, somewhere in ANY launcher to make a useful delicious plugin.
Thank you  :P.

My only minor request would be to have an option to include the favicons of the site which i think helps you visually find the site you are looking for. Although this might potentially slow down the search too much.
Good idea.

Another thing too :
I'm working on the tag list proposition but I'm hesitating on how to include it. Right now it would be "dlc +posts" or "dlc +tags" (with completion so that it is not too long to type ). Is it possible for a plugin to expose more than one keyword ? I could fake it with an alias and a dosearch but it would be nicer to package in entirely in the plugin.

Blog & Projects : Blog | Qatapult | SwiffOut | FScript

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #39 on: January 04, 2008, 12:39 PM »
This is probably a very easy fix -- it's on my todo list to fix this month.
email me ([email protected]) so we can test before i release.

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #40 on: January 06, 2008, 12:12 PM »
I uploaded a new version of the plugin that allow to explore tags  :P. The syntax changed a bit, you now have to type :
dlc +posts to get the list of posts or dlc +tags to get the list of tags. An option +nu allow to not query the server at each time : it is a bit faster.

The plugin propose the choice between posts and tags after you type dlc so you can type dlc<TAB> and you will get the posts without too much typing.

The download link is still http://e.craft.free....icious/delicious.zip. you can also get my alias file that avoid some typing : http://e.craft.free....ious/delicious.alias. It expose the following commands :
dp : list delicious posts
dpu : list delicious posts and update local copy if necessary
dt : list delicious tags
dtu : list delicious tags and update local copy if necessary



Blog & Projects : Blog | Qatapult | SwiffOut | FScript

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #41 on: January 06, 2008, 12:39 PM »
put the .alias file in the main zip right alongside the plugin and farr will find it.
also: maybe make a .dcupdate file for the plugin so farr will check for plugins.

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #42 on: January 06, 2008, 01:44 PM »
put the .alias file in the main zip right alongside the plugin and farr will find it.
also: maybe make a .dcupdate file for the plugin so farr will check for plugins.
ok it's done.
Blog & Projects : Blog | Qatapult | SwiffOut | FScript

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #43 on: January 06, 2008, 06:47 PM »
I uploaded a new version of the plugin that allow to explore tags  :P. The syntax changed a bit, you now have to type :
dlc +posts to get the list of posts or dlc +tags to get the list of tags. An option +nu allow to not query the server at each time : it is a bit faster.

Thank you, ecaradec.. :up: off to try the new version..

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #44 on: January 07, 2008, 06:14 AM »
just noticed one thing for each updates i need overwrite fscript.js which contains the username & password, this might be confusing if someone forgets where to put the username & password. why not put in a separate ini or xml file?

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #45 on: January 07, 2008, 06:57 AM »
Yes I recognize that this is annoying. I will do something.
Blog & Projects : Blog | Qatapult | SwiffOut | FScript

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #46 on: January 07, 2008, 09:47 AM »
Yes I recognize that this is annoying. I will do something.

thanks, that will be very helpful. :Thmbsup:

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #47 on: January 12, 2008, 04:19 PM »
The delicious plugin has been updated :
This is the last time you will have to set your password and you will now be able to do it from "advanced options" in a somewhat ugly but functional generated dialog. :)

M. 8)
Blog & Projects : Blog | Qatapult | SwiffOut | FScript

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #48 on: January 12, 2008, 04:41 PM »
awesome.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: new FARR Plugin : Delicious - built on the Javascript SDK : FScript
« Reply #49 on: January 12, 2008, 05:58 PM »
reading through it it looks great.
so this sdk also includes your new advanced options dialog system with options in a standalone file?
outstanding. this javascript plugin sdk really amazes me.