Opened 13 years ago

Closed 11 years ago

#1042 closed enhancement (inactive)

Option: Automatically making a local copy of pictures that are pasted in xinha

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords: images link local copy paste


Image you are an up- and rising open source project and newspaper are writing articles about you :-) Now you want to collect all those articles about you ... digitally of course. You will go the website with the article mark the article including pictures of you, your garage, etc. copy & paste into the xinha field of the article collection software you wrote. Works! Excellent! :-)

Now after some weeks, the Newspaper changes the links of the article and the pictures, wants you to pay for reading the article or goes out of business. If you want to have a look at the article now, the text will still be there, but the link to pictures will be broken. :-(

What you would like to have is an option you can set in the xinha configuration file, that tells xinha to scan the text you pasted for <img src=...> tags. If it finds any, it should automatically download the pictures to a specified directory on your webserver and change the source of the pictures to their new local address.

If you have a look at the article it doesn't matter if the newspaper website has changed, because you will see a local copy of the pictures in the article.

If you make it an option and restrict file types you can leave to the user if he wants to enable the feature or leave it off for security reasons.

And you would make me very happy. Because the deadline for my software project is near and I would love to include xinha :-)

Right now if you copy & paste an article from a web-site (

Change History (4)

comment:1 Changed 13 years ago by guest

I meant: Imagine you are ...

comment:2 Changed 13 years ago by guest

Sorry for the spelling mistakes. And I forgot to delete the last line. That's what happens if you don't Preview ...

comment:3 Changed 13 years ago by gogo

  • Priority changed from high to normal

I *think* this is a dup of a previous request somewhere. Not sure.

Whatever the case, it's a job for a plugin.

comment:4 Changed 11 years ago by gogo

  • Resolution set to inactive
  • Status changed from new to closed

Plugins welcme.

Note: See TracTickets for help on using tickets.