Encode and Include Images in XML

Robby Stephenson robby at periapsis.org
Sun May 21 00:49:54 UTC 2017


On Sat, May 20, 2017 at 5:08 PM, JAMES IRVING <jirv898 at msn.com> wrote:

> My source data is coming from a MySQL database (VideoDB web applicaiton)
> which includes an element that includes a file path; for example:
>
> <imgurl>cache/img/1045.jpg</imgurl>
>
> Whereas Tellico XML export file includes the <cover> element which points
> to an <image> element with contents that have been encoded to a Base64
> string; example:
>
> <cover>f4910a966f8a3b0c2a4ea2e68d15ab5a.jpeg</cover>
>
You can put a URL as the cover and Tellico should recognize it do the right
thing.  For a local path, be sure to use file:/// to make it a URL.
  <cover>file:///home/jirv898/cache/img/1045.jpg</cover>
or whatever

Robby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20170520/e130e97f/attachment.html>


More information about the tellico-users mailing list