Skip to main content

Flask extension to add a nice blog to your website

Project description

# Blog flask extension

This extension allows you to add a simple blog frontend to your flask app. All the articles are pulled from the WordPress API that has the plugin WP-JSON.

This extension provides a blueprint with 3 routes: - “/”: that returns the list of articles - “/<slug>”: the article page - “/feed”: provides a RSS feed for the page.

## How to use

In your app you can:

import canonicalwebteam.Flask_Blog import BlogExtension blog = BlogExtension(app, “Blog title”, [1], “tag_name”, “/url-prefix”)

If you use the factory pattern you can also:

import canonicalwebteam.Flask_Blog import BlogExtension blog = BlogExtension() blog.init_app(app, “Blog title”, [1], “tag_name”, “/url-prefix”)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

canonicalwebteam.blog-0.1.3.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file canonicalwebteam.blog-0.1.3.tar.gz.

File metadata

File hashes

Hashes for canonicalwebteam.blog-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4a446b5abdc27d680b576b67ba29986a812b648de4ff29c8870848d44e00511d
MD5 13a84a36a89ea1484118e86d2d422d73
BLAKE2b-256 3bb9b4bb3d7f60b1fdf4490c901907d6b6b593826e1e99e65ce7d78d3bad9070

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page