Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the parsing metadata more flexible(intelligent) #180

Closed
gilbertoca opened this issue Feb 19, 2015 · 1 comment
Closed

Make the parsing metadata more flexible(intelligent) #180

gilbertoca opened this issue Feb 19, 2015 · 1 comment
Assignees
Milestone

Comments

@gilbertoca
Copy link

Currently the following header is not recognizable by jbake [1]:


title= Removendo alertas antigos da página principal do DBCONSOLE
date= 2007-10-08 14=22=17
type= post
status= publish
tags=
,Concurso Público
,Database
,dbconsole
,oracle

It complains about the following items:

  1. the first line is blank
  2. each field has white space after equal sign
  3. the field tags is multi-line

It would be good if it was more flexible. Maybe performing a trim after the equal sign and checking only the final value for correctness -in the multi-line case, concatenate all line.

[1] https://github.com/gilbertoca/gilbertoca.com/blob/d4d5e67b2b0db4dc8a7cf158bb7c6f0612e9ee88/src/jbake/content/2007/10/2007-10-08-removendo-alertas-antigos-da-pagina-principal-do-dbconsole.md

atao60 added a commit to atao60/jbake that referenced this issue Nov 8, 2015
See point jbake-org#1 "the first line is blank" of issue "Make the parsing
metadata more flexible(intelligent) jbake-org#180"
atao60 added a commit to atao60/jbake that referenced this issue Nov 8, 2015
See point jbake-org#2 "each field has white space after equal sign" of issue
"Make the parsing
metadata more flexible(intelligent) jbake-org#180"
atao60 added a commit to atao60/jbake that referenced this issue Nov 8, 2015
Any line starting with 2 spaces will be concatenated with the previous
line.

See point jbake-org#3 "the field tags is multi-line " of issue
"Make the parsing metadata more flexible(intelligent) jbake-org#180"
@jonbullock jonbullock added this to the v2.5.0 milestone Aug 21, 2016
@jonbullock jonbullock self-assigned this Aug 21, 2016
@jonbullock
Copy link
Member

I agree the header code should be more tolerant of blank lines and spaces and this will be included in v2.5.0, but I don't agree with the multiline option support. The header is meant to be simple and concise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants