Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 12-25-2018, 08:31 AM   #1
steins
Junior Member
steins began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2018
Device: none
How to set value of custom column automatically?

Hi,

I have a question but I apologize if this is not the proper place to ask. If so, please kindly let me know where I should ask my question. Many thanks in advance.


I am trying to create Metadata Plugin for new Web page.
I succeeded in setting title , author and publisher automatically when I choose to download metadata.
But I can't understand how to set value of a custom column.

What would be the best way to do this?
steins is offline   Reply With Quote
Old 12-25-2018, 10:27 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
metadata download plugins cannot set custom column metadata.
kovidgoyal is offline   Reply With Quote
Old 12-26-2018, 04:27 AM   #3
steins
Junior Member
steins began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2018
Device: none
Thank you for your response.

So, how can I set value of a custom column without using metadata plugin?

I found “GetFileName plugin” which allows storing the name of imported file in a custom column, but I couldn’t understand which part of this source code set value of a custom column.
(https://www.mobileread.com/forums/sh...d.php?t=278559)

Appreciate your help.
steins is offline   Reply With Quote
Old 12-26-2018, 04:59 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by steins View Post
I found “GetFileName plugin” which allows storing the name of imported file in a custom column, but I couldn’t understand which part of this source code set value of a custom column.
(https://www.mobileread.com/forums/sh...d.php?t=278559)
Ask in the GetFileName plugin thread

BR
BetterRed is offline   Reply With Quote
Old 12-26-2018, 09:48 PM   #5
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 919
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
I have the same issue with the wikidata metadata plugin. My current plan is to make a wikidata GUI plugin that will update metadata in custom columns and probably also merge metadata in built in columns, neither of which can the metadata plugin do.

In the next week I hope to have code for that.
compurandom is offline   Reply With Quote
Old 12-27-2018, 03:23 AM   #6
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Yes, if you want to update custom column, I recommend a GUI plugin, it's the easiest way (it's not easy with a File Type plugin, I can tell you).
Terisa de morgan is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set default value of a custom column laszlopanaflex Library Management 2 12-01-2018 02:54 PM
How to set the number of decimals in a custom column sekhemty Library Management 3 04-28-2017 09:06 AM
Set Custom Column from identify.py ahisham Development 6 02-05-2015 09:53 AM
Automatically set custom column when fetching news bork Library Management 1 04-14-2012 03:20 AM
Using OnDevice to set the value of a custom column WendyR14 Library Management 3 10-23-2011 08:03 PM


All times are GMT -4. The time now is 08:26 PM.


MobileRead.com is a privately owned, operated and funded community.