Import::FeedConfig
Configuration for a single feed
Constructors
new(urls : Array(String), template : String, output_folder : String, format : String = "md", source_extension : Nil | String = nil, lang : String = "en", tags : String = "", skip_titles : Array(String) = [] of String, start_at : Nil | String = nil, fields : Hash(String, String) = {} of String => String, static : Hash(String, String) = {} of String => String, feed_format : Nil | String = nil, token : Nil | String = nil)
SourceInstance methods
fields
Field mappings: metadata_field -> source_field Example: {"title" => "title", "date" => "published", "content" => "body"}
Field mappings: metadata_field -> source_field Example: {"title" => "title", "date" => "published", "content" => "body"}
format
Sourcelang
Sourceoutput_folder
Sourceskip_titles
Sourcesource_extension
Sourcestart_at
SourceStatic field values (applied to all items) Example: {"tags" => "blog, imported"}
tags
Sourcetemplate
Sourceurls
Source