summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-11-10 11:27:10 +0100
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-11-10 11:27:10 +0100
commit806169f2550934199890acc4950bc5552565b980 (patch)
tree3d71dee2ebc78377aecefa026a85ba648f9c84f0
parent485d87b5e0189cc695f18973dcc84f9f57d5b6f9 (diff)
Initial Jekyll content that tries to mirror the old site.
-rw-r--r--Gemfile2
-rw-r--r--_config.yml4
-rw-r--r--_includes/footer.html19
-rw-r--r--_includes/header.html49
-rw-r--r--_layouts/default.html3
-rw-r--r--_layouts/post.html4
-rw-r--r--_posts/2010-07-11-pugixml-0.9-release.md12
-rw-r--r--_posts/2010-10-14-new-project-site.md8
-rw-r--r--_posts/2010-10-31-pugixml-1.0-release.md14
-rw-r--r--_posts/2012-05-01-pugixml-1.2-release.md16
-rw-r--r--_posts/2014-02-28-pugixml-1.4-release.md15
-rw-r--r--_posts/2014-10-26-pugixml-moves-to-github.md16
-rw-r--r--feed/index.xml21
-rw-r--r--index.html81
-rw-r--r--index.md26
-rw-r--r--news.md15
-rw-r--r--stylesheets/styles.css68
17 files changed, 224 insertions, 149 deletions
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..6ab22f4
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org/'
+gem 'github-pages'
diff --git a/_config.yml b/_config.yml
new file mode 100644
index 0000000..6d29cb5
--- /dev/null
+++ b/_config.yml
@@ -0,0 +1,4 @@
+name: pugixml.org
+description: Light-weight, simple and fast XML parser for C++ with XPath support
+url: http://pugixml.org/
+version: 1.4
diff --git a/_includes/footer.html b/_includes/footer.html
new file mode 100644
index 0000000..5a83239
--- /dev/null
+++ b/_includes/footer.html
@@ -0,0 +1,19 @@
+ </section>
+ <footer>
+ <p>This project is maintained by <a href="https://github.com/zeux">Arseny Kapoulkine</a></p>
+ <p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
+ </footer>
+ </div>
+ <script src="/javascripts/scale.fix.js"></script>
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-954596-3");
+ pageTracker._trackPageview();
+ } catch(err) {}
+ </script>
+</body>
+</html>
diff --git a/_includes/header.html b/_includes/header.html
new file mode 100644
index 0000000..398727a
--- /dev/null
+++ b/_includes/header.html
@@ -0,0 +1,49 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="chrome=1">
+ <title>pugixml.org - {{ page.title }}</title>
+
+ <link rel="stylesheet" href="/stylesheets/styles.css">
+ <link rel="stylesheet" href="/stylesheets/pygment_trac.css">
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="/feed/">
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <!--[if lt IE 9]>
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+</head>
+<body>
+ <div class="wrapper">
+ <header>
+ <h1>pugixml</h1>
+ <p>Light-weight, simple and fast XML parser for C++ with XPath support</p>
+
+ Repository: <small><a href="https://github.com/zeux/pugixml">https://github.com/zeux/pugixml</a></small><br />
+ License: <small>MIT</small><br />
+
+ <br />
+
+ Downloads:
+ <ul>
+ <li><a href="http://github.com/zeux/pugixml/releases/download/v{{site.version}}/pugixml-{{site.version}}.zip">pugixml-{{site.version}}.zip</a><br/>
+ <small>398 Kb, Windows line endings</small></li>
+ <li><a href="http://github.com/zeux/pugixml/releases/download/v{{site.version}}/pugixml-{{site.version}}.tar.gz">pugixml-{{site.version}}.tar.gz</a><br/>
+ <small>369 Kb, Unix line endings</small></li>
+ </ul>
+
+ Documentation:
+ <ul>
+ <li><a href="http://cdn.rawgit.com/zeux/pugixml/v{{site.version}}/docs/quickstart.html">Quick-start guide</a><br/>
+ <small>Read this to start using the library quickly</small></li>
+ <li><a href="http://cdn.rawgit.com/zeux/pugixml/v{{site.version}}/docs/manual.html">Complete reference manual</a><br/>
+ <small>Read this for full library reference</small></li>
+ </ul>
+
+ Other:
+ <ul>
+ <li><a href="https://github.com/zeux/pugixml/issues">Issue tracker</a>
+ </li>
+ </ul>
+ </header>
+ <section>
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..4f0db4c
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,3 @@
+{% include header.html %}
+{{ content }}
+{% include footer.html %}
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..d2e35d5
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,4 @@
+{% include header.html %}
+<h2>{{ page.title }}</h2>
+{{ content }}
+{% include footer.html %}
diff --git a/_posts/2010-07-11-pugixml-0.9-release.md b/_posts/2010-07-11-pugixml-0.9-release.md
new file mode 100644
index 0000000..8bbd7b4
--- /dev/null
+++ b/_posts/2010-07-11-pugixml-0.9-release.md
@@ -0,0 +1,12 @@
+---
+layout: post
+title: pugixml 0.9 release
+---
+
+pugixml-0.9 is out. This is a major release with lots of fixes/improvements (read the changelog for the details). The most important changes are:
+
+* Unicode support is completely reworked: now pugixml can be configured to use wchar_t instead of char for all string-based interfaces; also encoding conversion is performed during parsing/saving (with automatic encoding detection). All popular Unicode encodings are supported.
+* New version features a new documentation, with detailed description of library interface and behavior, more samples, quick-start guide and so on.
+* There are new functions for loading document from memory; they do not require the input buffer to be null-terminated. Old functions still work, but are deprecated and will be removed in the future version.
+
+Also there are a lot of other changes, including performance and memory consumption improvements.
diff --git a/_posts/2010-10-14-new-project-site.md b/_posts/2010-10-14-new-project-site.md
new file mode 100644
index 0000000..961a5c9
--- /dev/null
+++ b/_posts/2010-10-14-new-project-site.md
@@ -0,0 +1,8 @@
+---
+layout: post
+title: New project site
+---
+
+pugixml now has a new home, [pugixml.org](http://pugixml.org). This site acts as a frontend for all pugixml-related stuff (downloads, documentation, support and other information). Additionally, there is a news feed, which you can subscribe to [via RSS](http://pugixml.org/feed/).
+
+All downloads, documentation, Subversion repository and issue tracker are still hosted at Google Code; the existing links still work, and this is not going to change.
diff --git a/_posts/2010-10-31-pugixml-1.0-release.md b/_posts/2010-10-31-pugixml-1.0-release.md
new file mode 100644
index 0000000..d791237
--- /dev/null
+++ b/_posts/2010-10-31-pugixml-1.0-release.md
@@ -0,0 +1,14 @@
+---
+layout: post
+title: pugixml 1.0 release
+---
+
+pugixml-1.0 is out. This is a major release with lots of fixes/improvements (read the [changelog](http://pugixml.googlecode.com/svn/tags/release-1.0/docs/manual/changes.html) for details).
+
+The most important changes are:
+
+* XPath implementation was considerably improved – variable support was added, exceptions and STL are no longer required for XPath to function, query evaluation performance was improved and several bugs were fixed.
+* All deprecated functions and types were removed
+* File loading/saving functions can now work with wide character paths
+
+You can [download the source package](http://github.com/zeux/pugixml/releases/download/v1.0/pugixml-1.0.zip) or get the new version from Subversion using the latest tag (http://pugixml.googlecode.com/svn/tags/latest).
diff --git a/_posts/2012-05-01-pugixml-1.2-release.md b/_posts/2012-05-01-pugixml-1.2-release.md
new file mode 100644
index 0000000..cc403b0
--- /dev/null
+++ b/_posts/2012-05-01-pugixml-1.2-release.md
@@ -0,0 +1,16 @@
+---
+layout: post
+title: pugixml 1.2 release
+---
+
+pugixml-1.2 is finally out. This is a major release with lots of new features and compatibility improvements (read the [changelog](http://pugixml.googlecode.com/svn/tags/release-1.2/docs/manual/changes.html) for details).
+
+Highlights for this release include:
+
+* New optional header-only compilation mode that does not require compiling pugixml sources and can improve performance for certain applications due to inlining
+* Enhanced interface for PCDATA manipulation using an xml_text object
+* C++11 range-based for-loop support for node/attribute iteration
+* Compatibility improvements for many mobile platforms (including Android, Windows Mobile and other SDKs/devices)
+
+You can [download the source package](http://github.com/zeux/pugixml/releases/download/v1.2/pugixml-1.2.zip) or get the new version from Subversion using the latest tag (http://pugixml.googlecode.com/svn/tags/latest).
+
diff --git a/_posts/2014-02-28-pugixml-1.4-release.md b/_posts/2014-02-28-pugixml-1.4-release.md
new file mode 100644
index 0000000..b416756
--- /dev/null
+++ b/_posts/2014-02-28-pugixml-1.4-release.md
@@ -0,0 +1,15 @@
+---
+layout: post
+title: pugixml 1.4 release
+---
+
+pugixml-1.4 is finally out. This is a major release with several new features and compatibility improvements (read the [changelog](http://pugixml.googlecode.com/svn/tags/release-1.4/docs/manual/changes.html) for details).
+
+Highlights for this release include:
+
+* Improved validation of documents without element nodes
+* More parsing options (parse_fragment flag to parse XML document fragments, parse_trim_pcdata flag to remove leading/trailing whitespace)
+* Better integer support for attribute and text nodes (long long types and hexadecimal conversion)
+* More stack-efficient XPath compilation and evaluation
+
+You can [download the source package](http://github.com/zeux/pugixml/releases/download/v1.4/pugixml-1.4.zip) or get the new version from Subversion using the latest tag (http://pugixml.googlecode.com/svn/tags/latest).
diff --git a/_posts/2014-10-26-pugixml-moves-to-github.md b/_posts/2014-10-26-pugixml-moves-to-github.md
new file mode 100644
index 0000000..643159f
--- /dev/null
+++ b/_posts/2014-10-26-pugixml-moves-to-github.md
@@ -0,0 +1,16 @@
+---
+layout: post
+title: pugixml moves to GitHub
+---
+
+pugixml project used to be hosted on Google Code since time immemorial. About a year ago the active development switched to Git but the Subversion repository on Google Code was still maintained via svn-git and the primary way to report issues was via Issue Tracker on Google Code.
+
+Since Google disabled the downloads feature on Google Code, pugixml releases are hosted on github anyway; also git-svn makes some git workflows more complicated. As of this day, [pugixml moves to GitHub](https://github.com/zeux/pugixml) and Google Code project is no longer maintained.
+
+You can use GitHub’s [issue tracker](https://github.com/zeux/pugixml/issues), submit pull requests, use pugixml as Git submodules, etc.
+
+Note that you can still use Subversion to access pugixml repository on github as follows:
+
+ svn checkout https://github.com/zeux/pugixml/tags/latest
+
+Please let me know if you find any issues with GitHub’s Subversion access.
diff --git a/feed/index.xml b/feed/index.xml
new file mode 100644
index 0000000..94ea18a
--- /dev/null
+++ b/feed/index.xml
@@ -0,0 +1,21 @@
+---
+layout: none
+---
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+ <channel>
+ <title>{{ site.name | xml_escape }}</title>
+ <description>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description>
+ <link>{{ site.url }}</link>
+ <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
+ {% for post in site.posts %}
+ <item>
+ <title>{{ post.title | xml_escape }}</title>
+ <description>{{ post.content | xml_escape }}</description>
+ <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
+ <link>{{ site.url }}{{ post.url }}</link>
+ <guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
+ </item>
+ {% endfor %}
+ </channel>
+</rss>
diff --git a/index.html b/index.html
deleted file mode 100644
index 1acd705..0000000
--- a/index.html
+++ /dev/null
@@ -1,81 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="chrome=1">
- <title>pugixml by zeux</title>
-
- <link rel="stylesheet" href="stylesheets/styles.css">
- <link rel="stylesheet" href="stylesheets/pygment_trac.css">
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
- <!--[if lt IE 9]>
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- </head>
- <body>
- <div class="wrapper">
- <header>
- <h1>pugixml</h1>
- <p>Light-weight, simple and fast XML parser for C++ with XPath support</p>
-
- <p class="view"><a href="https://github.com/zeux/pugixml">View the Project on GitHub <small>zeux/pugixml</small></a></p>
-
-
- <ul>
- <li><a href="https://github.com/zeux/pugixml/zipball/master">Download <strong>ZIP File</strong></a></li>
- <li><a href="https://github.com/zeux/pugixml/tarball/master">Download <strong>TAR Ball</strong></a></li>
- <li><a href="https://github.com/zeux/pugixml">View On <strong>GitHub</strong></a></li>
- </ul>
- </header>
- <section>
- <h3>
-<a id="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages" aria-hidden="true"><span class="octicon octicon-link"></span></a>Welcome to GitHub Pages.</h3>
-
-<p>This automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:</p>
-
-<pre><code>$ cd your_repo_root/repo_name
-$ git fetch origin
-$ git checkout gh-pages
-</code></pre>
-
-<p>If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.</p>
-
-<h3>
-<a id="designer-templates" class="anchor" href="#designer-templates" aria-hidden="true"><span class="octicon octicon-link"></span></a>Designer Templates</h3>
-
-<p>We've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your Page content will be preserved if it remained markdown format.</p>
-
-<h3>
-<a id="rather-drive-stick" class="anchor" href="#rather-drive-stick" aria-hidden="true"><span class="octicon octicon-link"></span></a>Rather Drive Stick?</h3>
-
-<p>If you prefer to not use the automatic generator, push a branch named <code>gh-pages</code> to your repository to create a page manually. In addition to supporting regular HTML content, GitHub Pages support Jekyll, a simple, blog aware static site generator written by our own Tom Preston-Werner. Jekyll makes it easy to create site-wide headers and footers without having to copy them across every page. It also offers intelligent blog support and other advanced templating features.</p>
-
-<h3>
-<a id="authors-and-contributors" class="anchor" href="#authors-and-contributors" aria-hidden="true"><span class="octicon octicon-link"></span></a>Authors and Contributors</h3>
-
-<p>You can <a href="https://github.com/blog/821" class="user-mention">@mention</a> a GitHub username to generate a link to their profile. The resulting <code>&lt;a&gt;</code> element will link to the contributor's GitHub Profile. For example: In 2007, Chris Wanstrath (<a href="https://github.com/defunkt" class="user-mention">@defunkt</a>), PJ Hyett (<a href="https://github.com/pjhyett" class="user-mention">@pjhyett</a>), and Tom Preston-Werner (<a href="https://github.com/mojombo" class="user-mention">@mojombo</a>) founded GitHub.</p>
-
-<h3>
-<a id="support-or-contact" class="anchor" href="#support-or-contact" aria-hidden="true"><span class="octicon octicon-link"></span></a>Support or Contact</h3>
-
-<p>Having trouble with Pages? Check out the documentation at <a href="http://help.github.com/pages">http://help.github.com/pages</a> or contact <a href="mailto:support@github.com">support@github.com</a> and we’ll help you sort it out.</p>
- </section>
- <footer>
- <p>This project is maintained by <a href="https://github.com/zeux">zeux</a></p>
- <p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
- </footer>
- </div>
- <script src="javascripts/scale.fix.js"></script>
- <script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
- </script>
- <script type="text/javascript">
- try {
- var pageTracker = _gat._getTracker("UA-954596-3");
- pageTracker._trackPageview();
- } catch(err) {}
- </script>
-
- </body>
-</html> \ No newline at end of file
diff --git a/index.md b/index.md
new file mode 100644
index 0000000..a8b752a
--- /dev/null
+++ b/index.md
@@ -0,0 +1,26 @@
+---
+layout: default
+title: Home
+---
+
+pugixml is a light-weight C++ XML processing library. It features:
+
+* DOM-like interface with rich traversal/modification capabilities
+* Extremely fast non-validating XML parser which constructs the DOM tree from an XML file/buffer
+* XPath 1.0 implementation for complex data-driven tree queries
+* Full Unicode support with Unicode interface variants and automatic encoding conversions
+
+The library is extremely portable and easy to integrate and use.
+
+pugixml is developed and maintained since 2006 and has many users. All code is distributed under the MIT license, making it completely free to use in both open-source and proprietary applications.
+
+### Recent news [(more)](/news.html)
+
+<ul>
+{% for post in site.posts limit:2 %}
+ <li>
+ {{ post.date | date_to_long_string }} <a href="{{ post.url }}">{{ post.title }}</a>
+ {{ post.excerpt }}
+ </li>
+{% endfor %}
+</ul>
diff --git a/news.md b/news.md
new file mode 100644
index 0000000..69387da
--- /dev/null
+++ b/news.md
@@ -0,0 +1,15 @@
+---
+layout: default
+title: News
+---
+
+## News
+
+<hr />
+{% for post in site.posts %}
+<p>
+ {{ post.date | date_to_long_string }} <a href="{{ post.url }}">{{ post.title }}</a>
+ {{ post.content }}
+</p>
+<hr />
+{% endfor %}
diff --git a/stylesheets/styles.css b/stylesheets/styles.css
index dacf2e1..1dab512 100644
--- a/stylesheets/styles.css
+++ b/stylesheets/styles.css
@@ -42,7 +42,6 @@ a small {
font-size:11px;
color:#777;
margin-top:-0.6em;
- display:block;
}
.wrapper {
@@ -101,64 +100,11 @@ header {
position:fixed;
}
-header ul {
- list-style:none;
- height:40px;
-
- padding:0;
-
- background: #eee;
- background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
- background: -webkit-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
- background: -o-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
- background: -ms-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
- background: linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
-
- border-radius:5px;
- border:1px solid #d2d2d2;
- box-shadow:inset #fff 0 1px 0, inset rgba(0,0,0,0.03) 0 -1px 0;
- width:270px;
-}
-
-header li {
- width:89px;
- float:left;
- border-right:1px solid #d2d2d2;
- height:40px;
-}
-
-header ul a {
- line-height:1;
- font-size:11px;
- color:#999;
- display:block;
- text-align:center;
- padding-top:6px;
- height:40px;
-}
-
strong {
color:#222;
font-weight:700;
}
-header ul li + li {
- width:88px;
- border-left:1px solid #fff;
-}
-
-header ul li + li + li {
- border-right:none;
- width:89px;
-}
-
-header ul a strong {
- font-size:14px;
- display:block;
- color:#222;
-}
-
section {
width:500px;
float:right;
@@ -210,12 +156,6 @@ footer {
header a small {
display:inline;
}
-
- header ul {
- position:absolute;
- right:50px;
- top:52px;
- }
}
@media print, screen and (max-width: 720px) {
@@ -227,10 +167,6 @@ footer {
padding:0;
}
- header ul, header p.view {
- position:static;
- }
-
pre, code {
word-wrap:normal;
}
@@ -240,10 +176,6 @@ footer {
body {
padding:15px;
}
-
- header ul {
- display:none;
- }
}
@media print {