forgotten-roads / blog Goto Github PK
View Code? Open in Web Editor NEWThe Blog of Forgotten Roads MX
License: Apache License 2.0
The Blog of Forgotten Roads MX
License: Apache License 2.0
Disqus?
Planned subcommands:
frmx show content-type POST
Planned aliases:
frmx show comments POST
- use the Github API to get a list of comments for a given postIn addition to primary blog posts (see ticket #8), all posts need to be saved by tags.
Tasks:
/docs/tags/TAG/YYYY-MM/DD-HHMMSS-TITLE.html
/docs/tags.html
- iterate all tag names with links/docs/categories/TAG.html
- iterate all tag posts with linksAdd support for generating stubbed content files, ready for editing.
The following commands should be supported:
frmx new
- alias for frmx new post
frmx new post
- new stubbed placeholder post of default content typefrmx new post md
- new stubbed placeholder post of Markdown content typefrmx new post clj
- new stubbed placeholder post of Clojure content typefrmx new post edn
- new stubbed placeholder post of EDN content typefrmx new post html
- new stubbed placeholder post of HTML content typefrmx new post rfc
- alias for frmx new post rfc5322
frmx new post 5322
- alias for frmx new post rfc5322
frmx new post rfc5322
- new stubbed placeholder post of RFC 5322 content typeAll commands will generate a content file and a metadata file. The content file will be of the form specified in the command or will use the default type. The metadata file fill be in EDN format have have all supported keys stubbed with required fields indicated and optional fields set to an empty string, list, map, etc.
See ticket #1 for more details on these files.
In addition to primary blog posts (see ticket #8), all posts need to be saved by author.
Tasks:
/docs/authors/FIRST_LAST/YYYY-MM/DD-HHMMSS-TITLE.html
/docs/authors.html
- iterate all author names with links/docs/authors/FIRST_LAST.html
- iterate all author posts with linksTasks:
Note: some of theses tasks will need to be done in Dragon.
Under the hood, the command needs to do the following:
frmx check content
frmx check comments
git push origin master
Add new header logo
What about this:
posts/YYYY-MM/dd-hhmmss/content.[clj | edn | html | md]
posts/YYYY-MM/dd-hhmmss/meta.edn
For the file endings, if:
clj
- there must be a content
function defined that takes no arguments - this will be callededn
- there must be a top-level map data structure with the content
key - this will be usedhtml
- the entire content of the file will be used as-ismd
- the entire content of the file will be parsed as MarkdownWhere the meta.edn
file would have a structure something like:
{:title "..."
:subtitle "..."
:excerpt "..."
:author "..."
:category "..."
:tags ["..." "..." ...]
:comment-link "..."}
Add support for updating adding the comments URL for any post that doesn't have one.
The following commands should be supported:
frmx add comments url [POST]
- update the entry in the meta.edn
file for the given postTasks:
meta.edn
filegit commit POST/meta.edn -m "Added commit URL."
Add support for showing post metadata.
The following commands should be supported:
frmx show metadata
- alias for frmx show metadata all
frmx show metadata all
- show metadata for all postsfrmx show metadata [POST]
- show the metadata for a particular postThis will, of course, mean creating a header logo ...
It might be nice to have a header background image ...
Make the first one span the two columns and give it more oomph, as this will be the headline/most recent post.
Also update config namespace to provide a function for this.
Then update logger calls to use it.
This may mean tweaking the frmx gen
command to perform additional tasks that the make blog
target currently does ...
Tasks:
In Google Chrome, the favicon does not display in the tab.
Got an error last night from Github because it's trying to build some of the repo's content.
Provide links to privacy policy, disclosure policy, contact page, powered-by, about frmx.
In particular:
They only pertain to the 10 most recent posts. The data structure that's passed to the function that generates the front page only contains these (due to recent change).
In addition to primary blog posts (see ticket #8), all posts need to be saved by category.
Tasks:
/docs/categories/CATEGORY/YYYY-MM/DD-HHMMSS-TITLE.html
/docs/categories.html
- iterate all category names with links/docs/categories/CATEGORY.html
- iterate all category posts with linksTasks:
rfc5322-content
stubpostal
dependencyThe <h1>
, <h2>
, <h3>
, etc. tags need more styling/color. For instance, looking at the archives, tags, categories, etc. pages, it's difficult to distinguish the levels.
In addition to primary blog posts (see ticket #8), all posts need to be saved in the date archive.
Tasks:
/docs/archives/YYYY-MM/DD-HHMMSS-TITLE.html
/docs/archives/years.html
- iterate all years/docs/archives/YEAR/months.html
- iterate all months for the year/docs/archives/YEAR/MONTH/DD-HHMMSS-TITLE.html
- iterate all posts for the monthPrimary content for posts need to be generated and saved,
Tasks:
/docs/posts/YYYY-MM/DD-HHMMSS-TITLE.html
The post navigation arrows that appear at the bottom post the longer posts are styled properly: you can easily tell when there are more posts and when there aren't, based on the styles. The ones in the sidebar widget are missing their styles.
Should return data structure that has the following keys:
:content
:metadata
The subtitles don't stand out. Maybe italics with a less dark font color ...
Google-search-friendly meta tags:
General:
Dublin Core:
Example:
<head profile="http://dublincore.org/documents/dcq-html/">
<title>Expressing Dublin Core in HTML/XHTML meta and link elements</title>
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
<meta name="DC.title" lang="en" content="Expressing Dublin Core
in HTML/XHTML meta and link elements" />
<meta name="DC.creator" content="Andy Powell, UKOLN, University of Bath" />
<meta name="DCTERMS.issued" scheme="DCTERMS.W3CDTF" content="2003-11-01" />
<meta name="DC.identifier" scheme="DCTERMS.URI"
content="http://dublincore.org/documents/dcq-html/" />
<link rel="DCTERMS.replaces" hreflang="en"
href="http://dublincore.org/documents/2000/08/15/dcq-html/" />
<meta name="DCTERMS.abstract" content="This document describes how
qualified Dublin Core metadata can be encoded
in HTML/XHTML <meta> elements" />
<meta name="DC.format" scheme="DCTERMS.IMT" content="text/html" />
<meta name="DC.type" scheme="DCTERMS.DCMIType" content="Text" />
</head>
Open Graph (Facebook):
Twitter:
summary_large_image
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@nytimes">
<meta name="twitter:creator" content="@SarahMaslinNir">
<meta name="twitter:title" content="Parade of Fans for Houston’s Funeral">
<meta name="twitter:description" content="NEWARK - The guest list and parade of limousines with celebrities emerging from them seemed more suited to a red carpet event in Hollywood or New York than than a gritty stretch of Sussex Avenue near the former site of the James M. Baxter Terrace public housing project here.">
<meta name="twitter:image" content="http://graphics8.nytimes.com/images/2012/02/19/us/19whitney-span/19whitney-span-articleLarge.jpg">
See:
Look at some of these:
A nicely formatted list of another 5 for a total of a "top ten" ...
Note sure what colors yet ... something forgotten-roads-ish.
After some exposure on the front page, it will be desirable for some articles with lower interest levels to not be displayed there. This change introduces support for this.
Tasks:
Show-In-Headlines
-> headline?
true
Before publishing, posts should be checked for content and the presence of required metadata fields (see tickets #1 and #3).
Commands:
frmx check comments
This command needs to do the following:
comment
labelFor example, the space between the "About" heading and the page header is greater than on the other pages (e.g., "tags", "categories").
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.