Archive for the 'Wordpress' Category

01
Sep
07

WordPress: include code

I’ve been putting some code, in a dirty way, just in the middle of my posts. I decide to learn a little bit more about wordpress and get things done properly. A small ruby code with indentation as sample.

#!/usr/bin/ruby
if ARGV.length == 0
    puts "no argv"
end

After trying <code>, <blockquote> and <pre> directives I think the best result was achieved using <pre> with <code>, just like the sample above. See the code bellow.

<pre><code>
#!/usr/bin/ruby
if ARGV.length == 0
puts “no argv”
end
</code></pre>

Anyone has a better solution for that? More details here.

Advertisements
01
Aug
07

WordPress: include presentation

I was wondering if wordpress has some feature to show presentations in ppt, odp or pdf formats inside de blog. I haven’t found anything and worse, I didn’t succeed to upload an odp file despite of succefully upload a ppt file. I received the message “File type does not meet security guidelines. Try another.” After a while I reach the faq, but I still don’t know how to change that nonsense “security guidlines” policy. Anyone got a tip?

01
Jul
07

WordPress: include video

What about include some youtube video? Let see the results: that’s our mitosis video grep from youtube. Look like nice to me.

Did you remember the diference between mitosis and meiosis?

Continue reading ‘WordPress: include video’

01
Jun
07

WordPress: include image

Well, I never tryied before. So, let use some picure here.

  • First a uploaded one.

OpenSource

  • Than now just a link.

That’s all folks. Nothing new. And remember, open source is cool.




Quotes

"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it. Really smart people with reasonable funding can do just about anything that doesn't violate too many of Newton's Laws!" -- Alan Kay in 1971

My Twitter

My Delicious

RSS My Shared RSS

  • An error has occurred; the feed is probably down. Try again later.

Blog Stats

  • 74,846 hits