diff --git a/BigFix/BigFix-Podcast.bes.mustashe b/BigFix/BigFix-Podcast.bes.mustashe new file mode 100644 index 0000000..8f7a869 --- /dev/null +++ b/BigFix/BigFix-Podcast.bes.mustashe @@ -0,0 +1,30 @@ + + + <{{TypeTaskOrFixlet}}{{^TypeTaskOrFixlet}}Task{{/TypeTaskOrFixlet}}> + BigFix Podcast: Episode {{version}} + + TRUE + Podcast + {{DownloadSize}}{{^DownloadSize}}0{{/DownloadSize}} + https://bigfix.buzzsprout.com/ + jgstew + {{SourceReleaseDate}} + + + x-fixlet-modification-time + {{x-fixlet-modification-time}} + + + + Click + here + to send the Podcast Episode to clients. + + + + + + diff --git a/BigFix/BigFix-Podcast.bigfix.recipe.yaml b/BigFix/BigFix-Podcast.bigfix.recipe.yaml new file mode 100644 index 0000000..124858b --- /dev/null +++ b/BigFix/BigFix-Podcast.bigfix.recipe.yaml @@ -0,0 +1,23 @@ +--- +Description: Generates a BigFix Task for the latest BigFix Podcast Episode +Identifier: com.github.jgstew.bigfix.BigFix-Podcast +Input: + NAME: BigFix-Podcast +MinimumVersion: '2.3' +ParentRecipe: com.github.jgstew.download.BigFix-Podcast +Process: + - Processor: com.github.jgstew.SharedProcessors/BigFixPrefetchItem + + - Processor: com.github.jgstew.SharedProcessors/BigFixSetupTemplateDictionary + Arguments: + template_version: "%ep_number%" + + - Processor: com.github.jgstew.SharedProcessors/TemplateDictionaryAppend + Arguments: + append_key: "ep_title" + append_value: "%ep_title%" + + - Processor: com.github.jgstew.SharedProcessors/ContentFromTemplate + Arguments: + template_file_path: ./BigFix/%NAME%.bes.mustashe + content_file_pathname: "%RECIPE_CACHE_DIR%/%NAME%.bes" diff --git a/BigFix/BigFix-Podcast.download.recipe.yaml b/BigFix/BigFix-Podcast.download.recipe.yaml index d29550a..9690744 100644 --- a/BigFix/BigFix-Podcast.download.recipe.yaml +++ b/BigFix/BigFix-Podcast.download.recipe.yaml @@ -5,6 +5,7 @@ Input: NAME: BigFix-Podcast MinimumVersion: '2.3' Process: + - Processor: com.github.jgstew.SharedProcessors/SharedUtilityMethods - Processor: URLDownloaderPython Arguments: url: https://feeds.buzzsprout.com/1248878.rss