(extract-year-from-slug blog-post-slug)Extracts the year from a Grok AI video generator blog post slug.
Assumes the slug ends with a year in the format '-YYYY'. Returns the year as an integer, or nil if no year is found. For example: (extract-year-from-slug "grok-ai-video-generator-the-ultimate-guide-to-creating-ai-videos-2025") => 2025 (extract-year-from-slug "grok-ai-video-generator-the-ultimate-guide-to-creating-ai-videos") => nil
Extracts the year from a Grok AI video generator blog post slug. Assumes the slug ends with a year in the format '-YYYY'. Returns the year as an integer, or nil if no year is found. For example: (extract-year-from-slug "grok-ai-video-generator-the-ultimate-guide-to-creating-ai-videos-2025") => 2025 (extract-year-from-slug "grok-ai-video-generator-the-ultimate-guide-to-creating-ai-videos") => nil
(generate-grok-blog-url blog-post-slug)Generates a URL for a Grok AI video generator blog post on supermaker.ai.
Takes a blog post slug (a string) as input and returns the full URL. For example: (generate-grok-blog-url "grok-ai-video-generator-the-ultimate-guide-to-creating-ai-videos-2025") => "https://supermaker.ai/blog/grok-ai-video-generator-the-ultimate-guide-to-creating-ai-videos-2025"
Generates a URL for a Grok AI video generator blog post on supermaker.ai. Takes a blog post slug (a string) as input and returns the full URL. For example: (generate-grok-blog-url "grok-ai-video-generator-the-ultimate-guide-to-creating-ai-videos-2025") => "https://supermaker.ai/blog/grok-ai-video-generator-the-ultimate-guide-to-creating-ai-videos-2025"
(mock-video-data blog-post-title)Generates mock video data for a Grok AI video generator blog post.
Takes a blog post title (a string) as input and returns a map containing mock video metadata. This is a placeholder for actual video data extraction.
For example: (mock-video-data "Grok AI Video Generator: The Ultimate Guide") => {:title "Grok AI Video Generator: The Ultimate Guide", :duration "3:45", :views 12345}
Generates mock video data for a Grok AI video generator blog post.
Takes a blog post title (a string) as input and returns a map
containing mock video metadata. This is a placeholder for
actual video data extraction.
For example:
(mock-video-data "Grok AI Video Generator: The Ultimate Guide")
=> {:title "Grok AI Video Generator: The Ultimate Guide", :duration "3:45", :views 12345}cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |