Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-25-2018, 09: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, 11: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: 33,916
Karma: 10254168
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
metadata download plugins cannot set custom column metadata.
kovidgoyal is online now   Reply With Quote
Old 12-26-2018, 05: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, 05:59 AM   #4
BetterRed
null operator
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: 11,855
Karma: 10633600
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 online now   Reply With Quote
Old 12-26-2018, 10:48 PM   #5
compurandom
Addict
compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.compurandom can program the VCR without an owner's manual.
 
Posts: 342
Karma: 172672
Join Date: Jun 2015
Device: kobo aura h2o
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, 04: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: 5,120
Karma: 5678910
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:54 PM
How to set the number of decimals in a custom column sekhemty Library Management 3 04-28-2017 10:06 AM
Set Custom Column from identify.py ahisham Development 6 02-05-2015 10:53 AM
Automatically set custom column when fetching news bork Library Management 1 04-14-2012 04:20 AM
Using OnDevice to set the value of a custom column WendyR14 Library Management 3 10-23-2011 09:03 PM


All times are GMT -4. The time now is 10:24 PM.


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