poca icon indicating copy to clipboard operation
poca copied to clipboard

feed data into metadata?

Open brokkr opened this issue 8 years ago • 4 comments

It seems improbable that most feeds would not have pushed the same data to metadata as to the feed but apparently it happens. Could we extend the rename options to metadata without borking everything?

brokkr avatar Dec 07 '17 07:12 brokkr

Yes Please This feature helps me organize my media library

RoyLi-Pvt avatar Dec 08 '17 07:12 RoyLi-Pvt

To make it work we would have to...

  • [x] Create persistent dictionary of user values that attach to entry
  • [ ] Test if renaming still works
  • [ ] Test backwards (in)compatibility?
  • [ ] Check accessibility in metadata context
  • [ ] ...
  • [ ] ....
  • [ ] Update documentation, incuding deprecation of org_ name in favour of original_filename and title in favour of subscription_title

As for implementation in metadata we would want to make it absolutely parallel to rename so as not to sow confusion.

  • Slot in multiple elements and combine them with a divider attribute
  • There is no need for the space attribute here so we don't use it unless we're completely recycling the rename code
  • We will probably not allow for a mix of static content and variables in the same element. Either the node is a string element or it's an object element. I think that's the way lxml works it anyway.
  • the reusable rename parts are like 8 lines at most. Probably better to make a new function from scratch.

brokkr avatar Dec 08 '17 09:12 brokkr

just wanted to give a thumbs up for this awesome idea ;-)

wgruenberger avatar Dec 22 '18 15:12 wgruenberger

Thanks for the feedback. This project's been dormant for a while but I am looking to revive it over the holidays/early new year. I'll see what I can do :)

brokkr avatar Dec 22 '18 23:12 brokkr