Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Saturday, January 31, 2009

Twitter and tag cloud

I have been playing with the blog template recently, while figuring out how to move on with the RankSearch project.
You will notice two visible changes to the right-hand side of this blog:
  1. A link to my twitter profile
  2. Added a tag cloud in replacement of the list
Some other changes that are not visible:
  1. Added my blog's feed automatically to twitter and identi.ca thanks to twitterfeed.com
  2. Played with my feed's settings to redirect all post feed traffic to FeedBurner
The twitter button was taken from here among a huge selection of templates.

The tag cloud was set in place thanks to frivolous motion's excellent post. It doesnt add a title by default but the solution was in the comment section. Just make sure to select the right line containing

and add just after it:



The "includable" line in question is the one right after the html tag for your tag cloud widget:
Make sure you have checked the "Expand Widget Templates" box in the Edit HTML page.

French expression of the day:
"C'est mon petit doigt qui me l'a dit": a little bird told me (litt. My little finger told me)

Next posts:
  • Our first Perl program - Part III: Launch a HTTP request
  • How to install and use Google Analytics on your Blogger blog
  • Our first Perl program - Part IV: Read results from a HTML page
  • Perl help resources
  • Our first Perl program - Part V: Result analysis
  • POD
  • Our first Perl program - Part VI: Add a GUI interface

Twitter and tag cloud

I have been playing with the blog template recently, while figuring out how to move on with the RankSearch project.
You will notice two visible changes to the right-hand side of this blog:
  1. A link to my twitter profile
  2. Added a tag cloud in replacement of the list
Some other changes that are not visible:
  1. Added my blog's feed automatically to twitter and identi.ca thanks to twitterfeed.com
  2. Played with my feed's settings to redirect all post feed traffic to FeedBurner
The twitter button was taken from here among a huge selection of templates.

The tag cloud was set in place thanks to frivolous motion's excellent post. It doesnt add a title by default but the solution was in the comment section. Just make sure to select the right line containing

and add just after it:



The "includable" line in question is the one right after the html tag for your tag cloud widget:
Make sure you have checked the "Expand Widget Templates" box in the Edit HTML page.

French expression of the day:
"C'est mon petit doigt qui me l'a dit": a little bird told me (litt. My little finger told me)

Next posts:
  • Our first Perl program - Part III: Launch a HTTP request
  • How to install and use Google Analytics on your Blogger blog
  • Our first Perl program - Part IV: Read results from a HTML page
  • Perl help resources
  • Our first Perl program - Part V: Result analysis
  • POD
  • Our first Perl program - Part VI: Add a GUI interface

Monday, January 19, 2009

Syntax highlighting woes

I am having some trouble with the setup of my posts.
I want the perl scripts that I publish to use the same syntax highlighting that you get in Notepad++.
So I used the NppExport plugin of Notepad++ and exported to a .html document (tried to a .rtf file also).
I copied and pasted the html code from the created html file to the WYSIWYG editor of blogger but the text formating has disappeared and I end up with something like that:

#!/usr/bin/perl
use warnings;
print "This is not so easy";

Then I tried to copy the html code from the exported html file into the "Edit Html" tab of the editing window but it doesnt work any better.

I have googled syntaxhighlighter but it doesn't support the Perl syntax. Somebody was nice enough to create a Perl extension. So I'll be trying it out in the next few hours. I will try re-publishing yesterday's post so don't go thinking that your feed reader has gone crazy.
And sorry for the inconvenience, I'm learning here ;)

French word of the day:
"J'apprends": I am learning

Syntax highlighting woes

I am having some trouble with the setup of my posts.
I want the perl scripts that I publish to use the same syntax highlighting that you get in Notepad++.
So I used the NppExport plugin of Notepad++ and exported to a .html document (tried to a .rtf file also).
I copied and pasted the html code from the created html file to the WYSIWYG editor of blogger but the text formating has disappeared and I end up with something like that:

#!/usr/bin/perl
use warnings;
print "This is not so easy";

Then I tried to copy the html code from the exported html file into the "Edit Html" tab of the editing window but it doesnt work any better.

I have googled syntaxhighlighter but it doesn't support the Perl syntax. Somebody was nice enough to create a Perl extension. So I'll be trying it out in the next few hours. I will try re-publishing yesterday's post so don't go thinking that your feed reader has gone crazy.
And sorry for the inconvenience, I'm learning here ;)

French word of the day:
"J'apprends": I am learning