Subscribe to this blog via RSS or email

MF Collapse 1.0

Being unsatisfied with what was available and having a few spare minutes on my hands, a couple of days ago I decided to work on a new Wordpress plugin: MF Collapse.

What it does is simply collapse the text after Read the rest of this entry »

My first Wordpress plugin

Today, I was supposed to go snowboarding, but since nobody would’ve come and as I feel a little sick, I was home all morning with not much to do.

In that free time I decided to write a little plugin for Wordpress I wanted for a long time, but was unable to find anywhere else. Michael promised to release it, but never did so, and same did Chris.
So, here it comes my favorite posts plugin: MF Favorites.

It lets you add a little heart to mark favorite posts and, if you’re an admin, you can click on the heart to toggle the status of a particular post.
It comes with two images — a-favorite-heart and not-a-favorite-heart — that suit my color scheme, but you can change them with almost every image-editing software simply by changing the hues saturation.

I tested it only on my weblog, so you should consider it as alpha software. But since it’s a very tiny script, there should be no problem.
Please, let me know if you find bugs or have problems.

++UPDATE++ 2005/04/02: Version 0.2 of MF Favorites released!
I’ve added a way to show a list of your favorite posts and fixed a couple of bugs.

To show the list, simply call mff_show_favs() wherever you want the list to appear. By default, it will show the last 10 posts wrapped in <li></li>. So you’ll have to put it in an unordered list: <ul></ul>.
You can alse change a couple of parameters: mff_show_favs( number_of_posts_to_show_zero_for_all, before_each_post, after_each_post ).

As always, let me know if you have problems, suggestions or comments.

Scary Ingredients

Do you ever stop and read what’s in what you’re eating?

I do it very often. And let me tell you that almost everytime I read the ingredients of what I’m about to eat, I decide not to eat it.

Not that I’m an only-Bio-stuff kind of guy or anything, but when I read hydrogenated oils, margarine, monosodium glutamate, or simply preservatives and colorants, I feel a little scared. And disgusted, too!
Sometime’s nice to have some junk food, but it’s definitely better not to have it everyday!

How do you feel about ingredients? Do you usually read what you’re about to eat?

Links:

My 2004

Finally, I managed to do my 2004 list. I chose 5 for each category with no particular order – unless specified.

Mind that I refer to the Italian release dates, where applicable. Read the rest of this entry »

Music and Memories

One of the reasons I like music is because it keeps memories alive. I think the easiest way to explain it is by making an example.

Yesterday night, I was driving and, of course, listening to music. At one point, the song was Tangerine by “Led Zeppelin“:amazon. Listening to it made me think about when I was in “Tibet”:http://www.freetibet.org this summer: I used to listen to it over and over – at least when I was able to use my “iPod”:http://www.apple.com/ipod/, because it can’t be use above 10,000 feet.

Listening to ["Smashing Pumpkins'":amazon:smashing pumpkins] ["Adore":amazon:smashing pumpkins adore] makes me think about Ireland, because it was one of my favorite albums during the summer when I went to Ireland. “Pennyroyal Tea“:http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playlistId=115509&selectedItemId=115489 by “Nirvana“:amazon, makes me think of when I was starting to play guitar, because it was the song I wanted to learn how to play. And “Corduroy“:http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playlistId=487952&selectedItemId=487939 by “Pearl Jam“:http://www.tenclub.net/ makes me think about the “Pearl Jam“:http://www.tenclub.net/ concert at Milan in June, 2001, because, the days after the concert I was listening to it over and over. And, as the day after the concert I went to London, it makes me think of London, too.

I could list more of them. But I just wanted to make a few examles. Do you understand what I mean?

Music is such an important part of my life.

Wonsys

!)company“:http://www.wonsys.net/]’s website. The “company” is called “Wonsys“:http://www.wonsys.net/.

The website has been designed by me using XHTML and CSS. It’s not a definitive version, indeed it is more like a provisional version: we’d like to develop it together, but it’s difficult for us to be together because one of us live in another city. We want to be fisically together so that we can get out the best. I guess we will manage to make another website – a definitive one – in a few months, but in the meanwhile “this”:http://www.wonsys.net/ will serve fine.

Let me know what you think about it.

Let's call it Giftmas

I think we should be honest with ourself and rename [Christ]mas to [Gift]mas.

I’m not here to say it is wrong to give presents. Indeed I love giving presents to people I love. What I want to say is that – at least for many of us – Christmas is not what the name suggests. It is a way to spend some time at home with our families and loved ones, to relax and to receive that thing you’ve never decided to buy during the last year.

Come on, I know it. You know it. Everybody knows it. It’s not a secret!

And what if this Giftmas – or Christmas if you prefer ;) – we try to make it a Giftmas for people who really need “gifts”, too? Check out these:

  • Unicef“:http://www.unicef.org/
  • MSF“:http://www.msf.org/
  • Save the Children“:http://www.savethechildren.com/
  • Emergency“:http://www.emergency.it/index.php?ln=En
  • Amnesty“:http://www.amnesty.org/
  • Railway Children“:http://www.railwaychildren.org.uk/

Books vs Movies

This morning, I bought a couple of books. One is ["Fight Club":amazon:Chuck Palahniuk Fight Club] by “Chuck Palahniuk”:http://www.chuckpalahniuk.net/.

I bought it because I’d like to see how he writes and I always wanted to see the “movie”:http://www.imdb.com/title/tt0137523/: usually, I prefer to see a movie based on a book, after having read the book. But now I’m not sure that it is the best thing to do.

What I’ve always thought is that if you see the movie and then read the book you enjoy the second less, because you already know what the story is: no suspence. But what if you read the book first and love it and then you watch the movie and you don’t like it: it’d be a delusion. For example, I know many ["Lord of the Rings":amazon] books’ fans – I’m not a real one, though I like Tolkien a lot – that were so disappointed with the movies; but I know many that didn’t read the books before viewing the movies, they loved them and now they love the books. So, maybe, it is better to see the movie first, because, usually, the book is more detailed, so you can read things that weren’t in the movie. The story is deeper. And well, if the movie sucks you can always hope the book’s better!

Now, I have to decide if I want to read ["Fight Club":amazon:Chuck Palahniuk Fight Club] first, or if I want to watchFight Club“:http://www.imdb.com/title/tt0137523/ first. :???:

What is your personal opinion about the Book vs Movie battle?