Skip to content

update meta data using lua filter #9569

Answered by cscheid
ThierryO asked this question in Q&A
Discussion options

You must be logged in to vote

Did you follow the error message you're probably getting? body-footer is not valid Lua syntax in that context. You need meta.book["body-footer"].

(In addition, this might not work depending on what you're trying to do with the metadata, because of the order in which documents are processed and filters are run matters.)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@mcanouil
Comment options

Answer selected by ThierryO
Comment options

You must be logged in to vote
3 replies
@mcanouil
Comment options

@ThierryO
Comment options

@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
lua Issues related to the lua codebase, filter chain, etc
3 participants