Ticket #1042 (new enhancement)
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 |
| Cc: |
Description
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 (
