maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Quick Clip 0.2 Released! (https://talk.maemo.org/showthread.php?t=27017)

GeraldKo 2009-04-06 16:11

Re: Quick Clip 0.2 Released!
 
Quote:

Originally Posted by lm2 (Post 277884)
Yes, but I was suggesting something less ambitions: I was pointing to an already existing status bar plugin that rips TWO elements of a webpage and puts them in one location. Right now I'll be happy of Quick Clip could clip BOTH highlighted text AND a URL stamp.

Yes, I also think that what you're describing would be great.

BrentDC 2009-04-06 21:41

Re: Quick Clip 0.2 Released!
 
Quote:

Originally Posted by lm2 (Post 277869)
I was thinking over the weekend about the probably little-noticed del.icio.us status bar plugin (see also post #8 in that thread). I really like this little thing. But it lacks a crucial element: you can't save text to delicious, just the name at the top of a webpage (e.g, for this page this would be, "Quick Clip 0.2 Released! - Page 7...") and the url of the page (which you highlight before tapping the plugin).

Conversely, the thing I miss the most with QC is the ability to stamp clipped text with the url associated with the page whose text I'm saving.

Now, I'm not saying that QC should be integrated with the delicious plugin (although that, if it could be done, would be KILLER!). I'm just wondering if there is any transparent coding in the delicious plugin that could help you add a url stamp to text clipped from a website. Clearly, this would probably only work for microb, as I think I tried the delicious plugin with tear and it didn't work. (It saved the highlighted url, but failed to rip the page's title.)

Anyway, just some random thoughts about possible ways of expanding QC's functionality.

I looked briefly at the code, but my C skills are pretty weak (nonexistent, actually), and wasn't able to glean much. Is it correct that you highlight the url, and it automatically rips the page title?

Well, the gtk_application_name is set to the page title (just prefixed with "Web - "), and that is probably attainable somehow. On the other hand, the current page url is probably not broadcast by Microb (that's a guess!) so doing as you suggest is probably impossible, or at least above my abilities.

I think the best solution is probably to just clip in the url separately.

BrentDC 2009-04-06 21:44

Re: Quick Clip 0.2 Released!
 
Quote:

Originally Posted by lm2 (Post 277886)
To address this, yes, tear's kinetic is faster and less suitable for continuous reading-while-scrolling. But QC's scrolling, while suitable for reading, is horrendously slow for navigating through past clips to find the one you want to read. Whenever I need to read a clip from, say, a week ago, I have to use the notes editor instead of the built-in viewer, because the viewer is so slow. But I don't want to edit, I want to VIEW the old clip! ;)

If you hold down the page after "flicking" it, the page will keep scrolling at maximum speed (which is pretty fast).

lm2 2009-04-06 21:52

Re: Quick Clip 0.2 Released!
 
Quote:

Originally Posted by BrentDC (Post 277942)
If you hold down the page after "flicking" it, the page will keep scrolling at maximum speed (which is pretty fast).

That's better, but still not fast enough for my tastes. :)

lm2 2009-04-06 21:56

Re: Quick Clip 0.2 Released!
 
Quote:

Originally Posted by BrentDC (Post 277941)
Is it correct that you highlight the url, and it automatically rips the page title

Yup, that's right. I thought there might be a problem, given that you have to highlight the url.

I did notice the other day, however, that it was possible to highlight text on a page in microb AND tap the url field after and have the url highlighted AS WELL.

When you do that, though, it looks like the highlighted url is the only "actively" highlighted text. And this is how QC treats it, since if you use QC to clip highlighted, all that you get is the url.

Your suggestion to separately highlight the url may have to do, alas.

BrentDC 2009-04-06 22:20

Re: Quick Clip 0.2 Released!
 
Quote:

Originally Posted by lm2 (Post 277944)
That's better, but still not fast enough for my tastes. :)

I just went and found a random wikipedia article that was really long (52,000 characters) and clipped the whole thing into QC, and opened it in the viewer. It took 22 seconds to scroll from top to bottom holding the page down. I opened the same file in Tear, not the webpage but the actual clipped .txt file, and it took well over a minute to scroll from top to bottom (because I had to keep flicking it).

I know I could've dragged the normal gtk scrollbar in Tear to go anywhere instantly, but you can switch QCV to gtk scrolling too (but it won't do both).

lm2 2009-04-06 22:25

Re: Quick Clip 0.2 Released!
 
I'd like to replicate the test. Can you send the wikip link?

BrentDC 2009-04-06 22:30

Re: Quick Clip 0.2 Released!
 
Quote:

Originally Posted by lm2 (Post 277945)
Yup, that's right. I thought there might be a problem, given that you have to highlight the url.

I did notice the other day, however, that it was possible to highlight text on a page in microb AND tap the url field after and have the url highlighted AS WELL.

When you do that, though, it looks like the highlighted url is the only "actively" highlighted text. And this is how QC treats it, since if you use QC to clip highlighted, all that you get is the url.

Your suggestion to separately highlight the url may have to do, alas.

Yes, the OS supports two text selections at once, PRIMARY and SECONDARY. Quick Clip only reads the Primary selection, because what if you have a webpage selected then switch to another application and select something else then clip that selection? I could concatenate the two selections then clip them together, but I think more times than not that wouldn't be the desired effect. So as of now Quick Clip ignores Secondary.

A possibility would be to sense if both primary and secondary were selected the give a prompt: "What do you want to clip? Primary | Secondary | Both".

That's getting fancy, though! ;)

lm2 2009-04-06 22:30

Re: Quick Clip 0.2 Released!
 
Perhaps the problem is that tear has both kinetic and gtk and d-pad scrolling at once. Perhaps if QC had all three, the swiftness of the kinetic wouldn't be a big deal. :)

BrentDC 2009-04-06 22:33

Re: Quick Clip 0.2 Released!
 
Quote:

Originally Posted by lm2 (Post 277950)
I'd like to replicate the test. Can you send the wikip link?

Sure. http://en.wikipedia.org/wiki/Bobcat

Just about the longest thing I could find!


All times are GMT. The time now is 15:54.

vBulletin® Version 3.8.8