This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Baloo URI Relations

Tags: baloo, relations, grantlee, data-model baloo, relations, grantlee, data-model baloo, relations, grantlee, data-model
(comma "," separated)
User avatar
domson
Registered Member
Posts
29
Karma
0
OS

Baloo URI Relations

Tue Mar 21, 2017 3:11 pm
Hi Honeybears,
I m stuck in the pot....
How do I store relations between e.g. files?
After some research, I intuitively build up a testing-scenario:
Code: Select all
cd ~/baloo-testing
cat <<EOF >test_rel_images.md
Test Related Images
======
{% for relation in baloo.customRelation %}{% if relation.isImage %}
![{% relation.title %}]({% relation.uri %})
{% endif %}{% endfor %}
EOF
convert xc:white -size 10 rel_image.jpg
xattrs -n user.customRelation -v "~/baloo-testing/rel_image.jpg"


And here I am stuck, because I dont even know where I should parse the grantlee-template...
Ok, I can abandon templates for the moment...

I ve also tried to search for the relation like this:
Code: Select all
baloosearch user.customRelation:*

but ended up with:
Code: Select all
Property "user.customrelation" not found


What does this mean?
I really want to use baloo now!
Thanks for your help and/or ideas!
cheers
dom


The ships hung in the sky in much the same way that bricks don't.Douglas Adams
User avatar
domson
Registered Member
Posts
29
Karma
0
OS

Re: Baloo URI Relations

Fri Jun 09, 2017 8:47 am
How do Relations work with Baloo?


The ships hung in the sky in much the same way that bricks don't.Douglas Adams


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]