-
Notifications
You must be signed in to change notification settings - Fork 317
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
Pluxml #430
Pluxml #430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Norore , we have no PluXML sample data to test this, so I'm gonna trust you on this one.
@jekyllbot: merge +minor |
Fixed most of Rubocop offenses in b3b328e |
JekyllImport::Importers::Pluxml.run({ | ||
"source" => "/pluxml/data/articles", | ||
"layout" => "your_layout", | ||
"avoid_liquid" => TRUE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using true
here instead of TRUE
is recommended, just FYI.
~$ irb
TRUE
>> TRUE
(irb):1: warning: constant ::TRUE is deprecated
=> true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@parkr Right, I've changed it to lowercase.
PluXML is a blog CMS based on XML files instead of a database for articles and comments.
This script will help people to import their articles and drafts in Jekyll, with Nokogiri library.
I found some troubles with my own articles when you have source code in articles with a format similar to liquid, so I also include an option to tell Jekyll to not use the liquid render in exported files.