Recent Topics

1 Oct 22, 2006 19:29    

Eine deutsche Version gibt es am Ende dieses Eintrages.
****
Hi all,
I have seen on some blogs sites under WordPress, there will exist a plug in to show a thumbnail of the linked web site with the help of websnapr.com -- like this example:
[url=http://images.websnapr.com/?url=www.websnapr.com&size=T]b2evolution[/url]

Is it planned to create this plug in for b2evo too? I haven't any knowledge about PHP, so its impossible for me.

-----

Hallo,
ich habe auf einigen Blogseiten ein interesanntes Feature entdeckt -- eine kleine Vorschau der Webseite, wenn man mit der Maus über den Link fährt. Das sieht dann so aus:
[url=http://images.websnapr.com/?url=www.websnapr.com&size=T]b2evolution[/url]

Ist es geplant, ein solches Plugin für b2evolution zu entwickeln? Ich würde mich freuen. Würde ich natürlich auch gern selbst machen, habe jedoch keinerlei Ahnung von PHP.

greetings/gruss
ed

3 Oct 23, 2006 04:19

Should go in the Plugin Feature Requests forum... (a mod should move it).

Anyway, For someone interested in developing the plugin, you would take a existing renderer plugin, and change the search code to find links, then replace the links with the generated code from project john posted links to by passing over the link i guess.

Should work...

4 Oct 23, 2006 15:56

I'll move this to the appropriate forum, but first I have a question about that service. I did not see where they were providing a link to the image, so I sort of thought you were supposed to grab the image and host it yourself. Do you know which way that service expects to be used? Because if they expect you to link to their image a simple renderer would be fairly easy (even for me), but if you are supposed to clip and host the image yourself then it's just uploading the image and using it where you see fit. Or am I missing something?

5 Oct 23, 2006 16:09

Well if its the 2nd one, where you will need to host it, just make it do this;

Grab the image, save it somewhere, make a .php file that outputs the image then deletes the image.

So, somehow get the image, put save it somewhere, then have say;
image.php?getimage=imagename

Which would;
1. Set the headers to a image type
2. Output the contents of the image file
3. Delete the image file

7 Oct 23, 2006 17:17

yeh.. ednong linked to them...

8 Oct 23, 2006 17:30

balupton wrote:

Well if its the 2nd one, where you will need to host it, just make it do this;

Grab the image, save it somewhere, make a .php file that outputs the image then deletes the image.

So, somehow get the image, put save it somewhere, then have say;
image.php?getimage=imagename

Which would;
1. Set the headers to a image type
2. Output the contents of the image file
3. Delete the image file

That won't work because it takes them way too long to make the image. I'm figuring if you want to use that service then you wait and wait and wait for them to make the screenshot (which obviously you could do yourself in half the time given some reasonably common tools), then upload it, then link it. Near as I can tell - if you're expected to host the image yourself - the only thing a plugin can do is search a gallery for an image that matches the domain's name and use the image instead of text.

9 Oct 23, 2006 17:52

That won't work because it takes them way too long to make the image. I'm figuring if you want to use that service then you wait and wait and wait for them to make the screenshot (which obviously you could do yourself in half the time given some reasonably common tools), then upload it, then link it. Near as I can tell - if you're expected to host the image yourself - the only thing a plugin can do is search a gallery for an image that matches the domain's name and use the image instead of text.

Ahh true, so save the image somewhere when the post is saved, instead of getting it temporarily when the post is rendered.

10 Oct 25, 2006 00:14

WebSnapr does not require you to host the image locally, which is good.

I'll write a "LinkShot plugin" for it - perhaps it will support other services later, too.

Now the question is, how such links should get marked up.. should all (external) links get a image assigned (either in front or on hover, which could be a (User)Setting), or should they get encapsulated in special bbcode-like tags, like e.g. [linkshot]URL[/linkshot]?
Of course, this could also be a setting, but it would need a default setting.. (of course, the [linkshot] tag should allow all the attributes that are useful for links, like e.g. "title").

Suggestions?

11 Oct 25, 2006 00:53

I think the onhover effect should be a user-selectable feature for those of us who don't expect javascript enabled by our visitors. In any event 'degrading gracefully' is important.

Title tag is a must-have feature to my way of thinking. Plus since websnapr allows 4 different thumb sizes one would hope the plugin has a setting for size and that the setting adds width and height tags to the link.

Installing the plugin should add a credit to the groovy credits feature!

I think it should be location-specific, so the [linkshot]URL[/linkshot] method sounds best, although I would call the tag [websnapr] because that's who's service is being enjoyed.

Following up on that thought, a skin-tag plugin that allows you to link webs you want a visual shot of. Kind of like a linkblog for the eyes eh? Maybe some people would use it for their entire linkblog, but others might choose to use it for only a handful.

I was just thinking of something else but I forget what. ... ... ...

Oh yeah: an option to host locally would be super cool just in case websnapr ever folds or forces a user fee after finding the 'donate' model doesn't work for them. Maybe get that guy who wrote the file manager to help you out with that one ;)


Form is loading...