Compare commits

...

4 commits

Author SHA1 Message Date
mmk2410
7c7c103cc7 Updated Readme 2015-05-13 20:49:39 +02:00
mmk2410
52005b1235 Version 0.2.2 2015-05-13 20:46:32 +02:00
mmk2410
37ef385af6 Rangitakit brand and name changes 2015-05-12 16:17:57 +02:00
mmk2410
5a5b1ffdc4 pBlog Future 2015-03-29 21:39:10 +02:00
7 changed files with 116 additions and 42 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
nbproject/ nbproject/
*~
.*

View file

@ -1,30 +1,36 @@
# pBlog # Rangitaki
This is a small php blog engine with **markdown support**
At the moment it doesn't contain much features, but more will follow. Rangitaki is a simple to use and easy to configure PHP blogging engine in php without any database dependencies.
## Goal ##Features:
The goal is to create a simple blog engine. The blog posts should be written using (a) xml file(s) and the page should be prepared with a javascript program.
## Features
- Post writing in XML and Markdown - Post writing in XML and Markdown
- Markdown support - subpages for each article
- Code support - social sharing buttons
- German umlaut's support - Disqus integration
- Intro page (Markdown) - simple end user configuration
## Planned Features
- special url actions (blog.html?xyz , blog.html#xyz)
- publishing on a set time
- Tags
## Example ##Future Features:
You can find a example blog under [marcel-kapfer.de/pBlog](http://marcel-kapfer.de/pBlog)
- **Complete rework for a better user experience** [Read more](http://marcel-kapfer.de/rangitaki/blog/index.php?article=About-the-Future-of-pBlog)
- publishing on a set time
- tags
## Example(s)
- Official Rangitaki blog [marcel-kapfer.de/rangitaki/blog](http://marcel-kapfer.de/rangitaki/blog/)
Would you like to see your Rangitaki blog here? Write me a message at [marcelmichaelkapfer@yahoo.co.nz](mailto:marcelmichaelkapfer@yahoo.co.nz)
## Used Libraries ## Used Libraries
- [Parsedown](http://parsedown.org) - [Parsedown](http://parsedown.org)
## Social
- [Twitter @rangitaki](https://twitter.com/rangitaki)
- [Google+](https://plus.google.com/b/101437210222436501912/101437210222436501912/posts)
## More information ## Trello
- [Trello Board](https://trello.com/b/7qb5I6EQ/blog-engine)
- [Google+ Profile from Marcel Michael Kapfer](plus.google.com/+MarcelMichaelKapfer) - [Trello Board](https://trello.com/b/7qb5I6EQ/rangitaki)
- [Twitter Profile from Marcel Michael Kapfer](twitter.com/MarcelKapfer)

View file

@ -3,23 +3,25 @@
// Every line has an description about what you can change here. Don't delete any strings. You can set your value after the '=' sign and between the apostrophes. // Every line has an description about what you can change here. Don't delete any strings. You can set your value after the '=' sign and between the apostrophes.
// Make sure that every line ends with an semicolon (';'). // Make sure that every line ends with an semicolon (';').
// Blog Title - Set here an individual title of your blog by replacing pBlog with it. // Blog Title - Set here an individual title of your blog by replacing pBlog with it.
$blogtitle = 'pBlog'; $blogtitle = 'Rangitaki Blog';
// Blog Author - Set here your name // Blog Author - Set here your name
$blogauthor = 'Marcel Kapfer'; $blogauthor = 'Marcel Kapfer';
// Blog description // Blog description
$blogdescription = 'pBlog - A php blog engine without any database dependency'; $blogdescription = 'Rangitaki - A php blog engine without any database dependency';
// Blog favicon - enter here the path to your favicon
$blogfavicon = '../res/favicon.png';
// Home - set yes if you want to link to your homepage and no if not // Home - set yes if you want to link to your homepage and no if not
$bloghome = 'yes'; $bloghome = 'yes';
// Home URL - Set here the url to your main page. Either relative (e.g. '../') or absolute ('http://github.com') // Home URL - Set here the url to your main page. Either relative (e.g. '../') or absolute ('http://github.com')
$bloghomeurl = '../'; $bloghomeurl = '../';
// Home name - Set here an individual name for your main page // Home name - Set here an individual name for your main page
$bloghomename = 'Home'; $bloghomename = 'Home';
// Intro - set yes if you have a blog intro and no if you don't hve one // Intro - set yes if you have a blog intro and no if you don't have one
$blogintro = 'yes'; $blogintro = 'yes';
// Disqus - to enable disqus set this one to yes and provide your shortname // Disqus - Provide here your Disqus shortname. Leave empty if you don't want to use it.
$blogdisqus = 'no'; $blogdisqus = 'rangitaki';
// Disqus shortname - Provide here your Disqus shortname. Without one, this won't work // Google Analytics - Provide here your Google Analytics Tracking-ID. Leave emoty if you don't want to use it.
$blogdisqusname = ''; $bloganalytics = 'UA-41767647-3';
// Footer - set here the text for your footer (e.g. a copyright info). You can replace the whole text after the '=' with your own one. // Footer - set here the text for your footer (e.g. a copyright info). You can replace the whole text after the '=' with your own one.
$blogfooter = 'pBlog ' . date("Y") . ' <a href="https://github.com/mmk2410/pBlog" target="blank">github.com/mmk2410/pBlog</a>'; $blogfooter = 'Rangitaki ' . date("Y") . ' <a href="https://github.com/mmk2410/Rangitaki" target="blank">github.com/mmk2410/Rangitaki</a>';
?> ?>

View file

@ -38,7 +38,7 @@ THE SOFTWARE.
<!--CSS no change needed--> <!--CSS no change needed-->
<link rel="stylesheet" type="text/css" href="res/blog.css" /> <link rel="stylesheet" type="text/css" href="res/blog.css" />
<link href='http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,400italic,100,100italic,900' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,400italic,100,100italic,900' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" href="res/favicon.png"> <link rel="shortcut icon" href="<?php echo $blogfavicon; ?>">
</head> </head>
<body> <body>
@ -151,11 +151,11 @@ THE SOFTWARE.
<?php } ?> <?php } ?>
</p> </p>
<?php include 'res/SocialBar.php'; ?> <?php include 'res/SocialBar.php'; ?>
<?php if($blogdisqus == 'yes' && $blogdisqusname != ''){ ?> <?php if($blogdisqus){ ?>
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
<script type="text/javascript"> <script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */ /* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = '<?php echo $blogdisqusname; ?>'; var disqus_shortname = '<?php echo $blogdisqus; ?>';
/* * * DON'T EDIT BELOW THIS LINE * * */ /* * * DON'T EDIT BELOW THIS LINE * * */
(function() { (function() {
@ -258,5 +258,21 @@ THE SOFTWARE.
<?php echo $blogfooter ?> <?php echo $blogfooter ?>
</p> </p>
</div> </div>
<?php
if($bloganalytics){
?>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<?php echo $bloganalytics; ?>', 'auto');
ga('send', 'pageview');
</script>
<?php
}
?>
</body> </body>
</html> </html>

View file

@ -1,7 +1,12 @@
This is the Blog of the Blog Engine **pBlog** This is the Blog of the Blog Engine **Rangitaki**
pBlog is based on PHP, XML and Markdown. It is easy to install and to configure. Rangitaki is based on PHP, XML and Markdown. It is easy to install and to configure.
The latest Version is **2.0** The latest Version of the 0.2 series is **0.2.2**
You can find the source code on [GitHub](https://github.com/mmk2410/pBlog). The latest Version of the development stream isn' ready yet.
** !IMPORTANT! Please read [this](index.php?article=About-the-Future-of-pBlog) for more information about the different versions of pBlog.**
You can find the source code on [GitHub](https://github.com/mmk2410/Rangitaki).

View file

@ -46,7 +46,6 @@ img{
margin-right: auto; margin-right: auto;
} }
.header{ .header{
position: absolute; position: absolute;
top: 0; top: 0;
@ -54,7 +53,7 @@ img{
right: 0; right: 0;
float: center; float: center;
z-index: 40; z-index: 40;
background: #de3e0b; background: #ff4415;
width: 100%; width: 100%;
box-shadow: 0px 0px 4px 4px rgba(189, 189, 189, 0.5); box-shadow: 0px 0px 4px 4px rgba(189, 189, 189, 0.5);
-moz-box-shadow: 0px 0px 4px 4px rgba(189, 189, 189, 0.5); -moz-box-shadow: 0px 0px 4px 4px rgba(189, 189, 189, 0.5);
@ -73,12 +72,21 @@ img{
z-index: 10; z-index: 10;
color: rgba(0, 0, 0, 0.87); color: rgba(0, 0, 0, 0.87);
} }
a{
text-decoration: none;
}
a:hover{
text-decoration: underline;
}
.text a{ .text a{
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
letter-spacing: 0.01px; letter-spacing: 0.01px;
color: #de3e0b; color: #ff4415;
text-decoration: none; text-decoration: none;
} }
section{ section{
@ -128,10 +136,10 @@ Usage: <a class=".text_button_flat_colored">YOUR TEXT</a>
height: 40px; height: 40px;
padding: 8px; padding: 8px;
color: #FFFFFF; color: #FFFFFF;
background-color: #de3e0b; background-color: #ff4415;
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
border-color: #de3e0b; border-color: #ff4415;
border-radius: 3px; border-radius: 3px;
margin: 4px; margin: 4px;
margin-bottom: 5px; margin-bottom: 5px;
@ -184,7 +192,7 @@ code{
} }
.texttitle:hover{ .texttitle:hover{
color: #de3e0b; color: #ff4415;
} }
.texttitlemono{ .texttitlemono{

View file

@ -1,5 +1,40 @@
<?xml version='1.0' standalone='yes'?> <?xml version='1.0' standalone='yes'?>
<posts> <posts>
<post>
<title>Version 0.2.2</title>
<pubdate>13 May 2015</pubdate>
<content>
Today I release a small new version to the new 0.2 series, which includes following changes:
- Links are now underlined, when you hover over them
- Simplified it to add the disqus comments
- Added and configuration option for setting a favicon
- Added the option to use Google Analytics
When you updating you installation make sure that your nor overriding your existing configuration. Check on GitHub what are the differences between the two versions.
</content>
</post>
<post>
<title>From pBlog to Rangitaki</title>
<pubdate>12 May 2015</pubdate>
<content>
Some huge changes happend to this blogging engine in the last few days:
- The name was changed from pBlog to Rangitaki
Since the early beginning I searched for a good name for the blogging engine and Rangitaki (from the maori language and means logbook) fits just perfect
- The default color changed to #ff4415
- I wrote a webpage for Rangitaki [marcel-kapfer.de/rangitaki](http://marcel-kapfer.de/rangitaki)
- I created a Twitter profile [@rangitaki](https://twitter.com/rangitaki)
- and a Google+ profile [+Rangitaki](https://plus.google.com/b/101437210222436501912/101437210222436501912/posts)
</content>
</post>
<post>
<title>About the Future of pBlog</title>
<pubdate>29th March 2015</pubdate>
<content>
I figured out that there will be many changes in the engine which will require many changes in the files (especially the posts file) and in the filestructure. I can't say right now which things will change and what you have to change. Out of this reason I change the Version numbers and add an zero in front of them. So instead of 2.1 the latest version is now 0.2.1. The 0.2.x series is now on GitHub as an own branch and will recive bugfix updates. The series 0.3, 0.4, 0.5 and so own will be development releases which won't be compatible to the 0.2 series. I recommend current users to stay on 0.2.x - at least until the 1.0 release. I'm verry sorry for this and in case that there are requests I may write a small script that will help you switch to version 1.0.
</content>
</post>
<post> <post>
<title>Version 2.1</title> <title>Version 2.1</title>
<pubdate>29th March 2015</pubdate> <pubdate>29th March 2015</pubdate>