On 10/14/22 12:14 PM, john wrote:
On Oct 13, 2022, at 11:24 PM, Jeff <beastmaster...@hotmail.com> wrote:
Is there any way, even the slightest, to attach a transaction image
to a daemon instead of a specific file? That way I could use a
database system in the background to hold images instead of the file
system. That way images would still be available to GNC and
searchable for me (never know when a rebate might show up {grin}).
There's https://github.com/MigNov/Fuse-db that uses mysql-connector
(should also work with mariadb's connector) to create a filesystem
interface. There's also a perl module,
https://metacpan.org/pod/Fuse::DBI, that (like GnuCash) uses libdbi
so it's a bit more general; the problem is that it's only mountable
from inside perl so it won't work directly with GnuCash.
Alternatively the link field takes URIs as well as directory paths and
IIRC it can load http: or https: URIs. If you can run a local web
server to serve the URIs you can use PHP to query a supported database
for the desired image.
Regards,
John Ralls
Thank you John, I'll look into it. That might be the only suggestion
for now. I would rather have a program standing next to GNC to look at
images, from any location that GNC can access regardless of location.
--
--JEffrey Black M.B.A.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.