Ticket #1265 (new story)

Opened 2 years ago

Last modified 2 years ago

Send2LeMill

Reported by: laszlo Assigned to: anonymous
Priority: minor Milestone:
Component: generic Version:
Keywords: Cc:
Time spent: Time remaining:
Time planned:

Description

Dawid Wiley has again developed pretty nice and simple tool. We shouls have a similar kind of tool in LeMill.

They have made a Send2Wiki bookmarklet which is a "button" / link in your browser and is automatically sending whatever page online in to ther wiki. Very nice. Have a look:

http://www.send2wiki.com/

So we need "Send2LeMill" bookmarklet making it possible to send any web page to the LeMill as a "multimedia page".

Change History

03/16/07 12:47:23 changed by laszlo

But how should we do this? This link should create only a reference in LeMill? And who will be the owner of this reference?

03/16/07 13:22:44 changed by teemu

Laszlo, did you check how the send2wiki works? It actually takes a copy of the page content and sends it to the wiki.

So in the case of LeMill it should take the content of the web page and send it to LeMill multimedia page so that you could edit it in there.

..but from your comment I got and idea that we actually need another bookmarklet which can be used for sending some page URL to LeMill as a "reference". Let's call this bookmarklet "Add reference..." button.

03/16/07 13:46:55 changed by laszlo

I've checked how Send2Wiki works, but it is technically not an easy thing. We should parse the page, find the images, the text part, and convert it to a LeMill content. It is techically equivalent to HTML import. I have no idea, how could we easily develop it.

But we can come from also an other direction. We could make accessible the LeMill through XML-RPC. We can make functions to add content, upload media elements, etc. In this case if anyobody wants to make his page accessibele in LeMill, they can transform his page and upload it through XML-RPC. In this case we shouldn't create any HTML conversion functionality, because the conversion shuld have made by the system, which wants to put its content to LeMill.

03/16/07 14:17:05 changed by jukka

I wrote a comment and lost it. Well, it isn't very straightforward but it could be done: Send2Wiki uses html2wiki -converter ( http://search.cpan.org/~diberri/HTML-WikiConverter-0.61/ ), which is written in perl but very well commented. What we would need is to use that as a model and to do html2mmediapage -converter with python. If html2wiki is good enough and can handle most of the pages without making a mess, then we can presume it has solved the hard problems and we just replicate (and simplify when possible) its methods with python.

I asked Teemu to test if Send2Wiki really can convert various pages without making a mess. If it is good enough, we could make the effort. (Anyone with experience with perl?)

03/26/07 12:56:03 changed by hans

What about copyright issues? I'm afraid that people will start sending all kind of web pages without thinking about copyright issues.

I propose that this feature should work only with web pages that contain Creative Commons Attribution-ShareAlike? RDF code.