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.

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.

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?)