Ticket #1265 (new story)

Opened 12 years ago

Last modified 12 years ago


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


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:


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

Change History

comment:1 Changed 12 years ago 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?

comment:2 Changed 12 years ago 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.

comment:3 Changed 12 years ago 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.

comment:4 Changed 12 years ago 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?)

comment:5 Changed 12 years ago 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.

Note: See TracTickets for help on using tickets.