bartleblog
Posts about bartleblog, a PyQt-based blogging tool.
There are 1 stories and
29 posts tagged bartleblog
Articles tagged bartleblog
Posts tagged bartleblog
2007-11-20 13:02:31
I have decided to make this blog available also in Spanish starting yesterday. ...
2007-08-11 23:15:57
I suppose it happens to everyone once in a while, and it has happened to me often in the past, but I
am thinking if I should keep on writing this blog, or if some large change is needed. ...
2007-08-04 14:49:35
Nowadays, the very little time I have for personal projects is spent doing things like fixing
little things and adding little features to BartleBlog [1] and thinking how I could use GLE and
mako templates to create a cool nerdy tool to create charts. ...
2007-05-21 13:18:26
Since I am trying to make my blog into a serious site [1] I decided to take a serious look int web
typography. It should be useful if BartleBlog ever gets a second user (which is not precisely
coming soon ;-) ...
2007-05-15 14:08:44
I was thinking: how can I implement page previews in BartleBlog? ...
2007-05-15 12:44:44
Since the very beginning, BartleBlog has been using CherryTemplate for its output
formatting needs. I like it, because it's very simple. ...
2007-05-13 21:15:49
I am working on changing BartleBlog so it can be used from scratch. That may sound odd but
because I have been using it since day 2 to post this blog, it has grown very organically,
meaning there are things that only work because of the way I used it while developing it. ...
2007-05-11 12:01:45
Took a while to implement, but BartleBlog finally got a functional menu editor: ...
2007-05-08 21:05:03
It's remarkably easy to turn your QTextBrowser into a limited web browser, at least good
enough to show images from the web. ...
2007-05-05 18:29:56
I found a couple of hours to hack, and decided to spend them on BartleBlog. ...
2007-04-12 17:35:52
Now, I don't know if this is useful, but I do think it's way neat.
Inspired by S5_, rst2s5_, and mootools_ I took an hour (or two) and hacked this neat little slide tool.
The goals differ from S5 in that I intend to write a frontend, so that you have a sort of very-poor-man's powerpoint, but also in that the output should be simple to embed in other pages so that I can eventually make this a part of bartleblog.
Check it out (click to go to next slide, move mouse to the top of the slideshow for controls):
.. raw:: html
<div class="sl_presentation">
<script type="text/javascript">
new Asset.css('http://lateral.blogsite.org/static/css/slides.css');
slides=[ 'slide0',
'it-s-nerd-oriented',
'it-does-things-simply',
'it-s-very-easy-to-extend',
'and-it-has-kickass-features'
];
var current=-1;
var numPages=5;
var topMargin=25;
var delay=1500;
function slide_out() {
if ( current > -1 && current < numPages )
{
var eff1=$(slides[current]).effects({
duration: delay,
transition: Fx.Transitions.cubicOut
});
eff1.start({'top': [500]/*,
'height': [0]*/ }
);
}
}
function slide_in() {
if ( current > -1 && current < numPages )
{
var eff1=$(slides[current]).effects({
duration: delay,
transition: Fx.Transitions.cubicOut
});
eff1.start({'top': [topMargin]/*,
'height': [450] */}
);
}
}
function next() {
slide_out();
current=current+1;
slide_in();
};
function prev() {
slide_out();
current=current-1;
slide_in();
}
function controls_in() {
var eff=$('controlBox').effect('top',{
duration: 100
});
eff.start(0);
}
function controls_out() {
var eff=$('controlBox').effect('top',{
duration: 100
});
eff.start(-100);
}
</script>
<div id="controlBox" class="sl_control" onMouseOver="controls_in(); " >
<span id="prev" onClick="if (current > 0 ) {prev();}"><< </span>
<span id="next" onClick="if (current <numPages-1) { next();}"> >></span>
</div>
<div class="sl_cover" onMouseOver="controls_out();" onClick="if (current <numPages-1) { next();}"></div>
<div id="header" class="sl_header">
</div>
<div id="footer" class="sl_footer">
Why use BartleBlog
</div>
<div class="sl_slide" id="slide0">
<h1>Why use BartleBlog</h1>
<h2 id="if-you-are-a-nerd">(If you are a nerd)</h2>
<table class="docinfo" frame="void" rules="none">
<col class="docinfo-name" />
<col class="docinfo-content" />
<tbody valign="top">
<tr><th class="docinfo-name">Author:</th>
<td>Roberto Alsina <<a class="reference" href="mailto:ralsina@kde.org">ralsina@kde.org</a>></td></tr>
</tbody>
</table>
</div>
<div class="sl_slide" id="it-s-nerd-oriented">
<h1><a id="it-s-nerd-oriented" name="it-s-nerd-oriented">It's nerd-oriented</a></h1>
<p>It's trivial to display source code, with
proper syntax highlighting.</p>
<div class="code-block"><pre><span class="k">from</span> <span class="nn">base64</span> <span class="k">import</span> <span class="o">*</span>
<span class="k">def</span> <span class="nf">myFirstFunction</span><span class="p">():</span>
<span class="k">print</span> <span class="n">b64decode</span> <span class="p">(</span><span class="s">'YnllIHdvcmxkIQ=='</span><span class="p">)</span>
</pre></div>
<p>Even for things like shell sessions.
Dammit, I am a nerd, I will try to add every nerd
feature I deem cool.</p>
</div>
<div class="sl_slide" id="it-does-things-simply">
<h1><a id="it-does-things-simply" name="it-does-things-simply">It does things simply</a></h1>
<p>Wanna show a flickr photo?</p>
<div class="code-block"><pre><span class="p">..</span> <span class="nt">flickr:</span>: myPhotoTitle
</pre></div>
<p>How about using openomy.com to share your files?
And whatever else you can think of, it probably
<strong>can</strong> be done.</p>
</div>
<div class="sl_slide" id="it-s-very-easy-to-extend">
<h1><a id="it-s-very-easy-to-extend" name="it-s-very-easy-to-extend">It's very easy to extend</a></h1>
<p>Really. It's simple python code.</p>
<ul class="simple">
<li>The module to do syntax highlighting has 41 lines.</li>
<li>The module to do dynamic animated menus has 103.</li>
<li>The module to do calendars has 72.</li>
</ul>
<p>If there is a python module or web service to do what you
want, hooking it into BartleBlog is simple.</p>
</div>
<div class="sl_slide" id="and-it-has-kickass-features">
<h1><a id="and-it-has-kickass-features" name="and-it-has-kickass-features">And it has kickass features</a></h1>
<p>Like online, embedded, animated slideshows! Like this one!
Done with 65 lines of simple almost-plain-text markup!
Ok, it's not fully implemented yet, because it needs some manual
code, but the hard part is done!</p>
<p>Or automatic SVN changelog display ( I admit that's <em>somewhat niche</em> ;-))</p>
<p>Now, who else has that kind of thing?</p>
</div>
<script type="text/javascript">
next();
</script></div>
There may be an artifact when you slide out the syntax-highlighted boxes, but I have no idea how to fix it.
Also, I have not tested it at all in IE, so if it fails there, don't worry, that's to be expected!
Next time I speak in public, I may use this :-)
And, as a teaser... this is the source for the presentation you just saw:
.. code-block:: rst
Why use BartleBlog
==================
(If you are a nerd)
~~~~~~~~~~~~~~~~~~~
:author: Roberto Alsina <ralsina@kde.org>
It's nerd-oriented
------------------
It's trivial to display source code, with
proper syntax highlighting.
.. code-block:: python
from base64 import *
def myFirstFunction():
print b64decode ('YnllIHdvcmxkIQ==')
Even for things like shell sessions.
Dammit, I am a nerd, I will try to add every nerd
feature I deem cool.
It does things simply
---------------------
Wanna show a flickr photo?
.. code-block:: rst
.. flickr:: myPhotoTitle
How about using openomy.com to share your files?
And whatever else you can think of, it probably
**can** be done.
It's very easy to extend
------------------------
Really. It's simple python code.
* The module to do syntax highlighting has 41 lines.
* The module to do dynamic animated menus has 103.
* The module to do calendars has 72.
If there is a python module or web service to do what you
want, hooking it into BartleBlog is simple.
And it has kickass features
---------------------------
Like online, embedded, animated slideshows! Like this one!
Done with 65 lines of simple almost-plain-text markup!
Ok, it's not fully implemented yet, because it needs some manual
code, but the hard part is done!
Or automatic SVN changelog display ( I admit that's *somewhat niche* ;-))
Now, who else has that kind of thing?
.. _mootools: http://www.mootools.net
.. _s5: http://meyerweb.com/eric/tools/s5/
.. _rst2s5: http://docutils.sourceforge.net/docs/user/slide-shows.html ...
2007-04-10 23:13:01
A new gadget: Mootools based menus. ...
2007-04-08 20:22:33
The nerdiest feature of all time... simple SVN logs. ...
2007-04-08 18:20:13
It was pretty hard, but I finally managed to make bartleblog re-render only the necessary
pages. ...
2007-04-05 14:37:33
I had a few minutes waiting for yum to do its thing and added a couple of easy features: ...
2007-04-04 11:01:48
- I did the tag editor: ...
2007-04-03 19:06:36
Even though it's not really ready, I am switching my blog to BartleBlog. ...
2007-04-02 12:42:56
Now that the backend is still iffy but generates a blog, I finally started showing some love to
the UI. ...
2007-03-29 18:43:28
I added a Restructured Text directive that takes as argument the title of one of your (my)
flickr pictures, like this: ...
2007-03-28 17:28:48
Added a Yahoo! Ui menubar generator. It turns this: ...
2007-03-27 12:49:20
Another morning, another feature: archive ...
2007-03-26 18:28:32
A couple more hours of hacking, and the templates are all new, and more functional then ever. ...
2007-03-24 09:16:00
I have been posting this blog using PyDS for over 4 years now. Sadly, the PyDS author seems to
have abandoned it. Which is sad, because it's nifty software. ...
2003-10-15 01:00:42
Now, if this appears in the site, bartleblog has advogato support..
...
2003-10-14 22:28:32
Hey, it works :-) ...
2003-10-06 16:56:48
So, the link below will disappear in a minute or two. Right now, you can get it via CVS. ...
2003-10-05 20:42:32
Let's see if bartleblog can edit this.... yes? ...
2003-10-05 17:57:36
I got a few mails asking to see Bartleblog... well, if you have a working PyQt, and a working PyDS
(advogato support is totally broken right now), and you have a good backup of your blog, then
you may try to get it from here (Use CVS) ...
2003-10-05 17:34:08
I wonder if bartlebog is a good name. It sure is better than klog, and I like XIXth century lit
references. ...