Gudasoft

Impossible is nothing

Publishing article with SEO rules

As I want to keep this post secret as possible I will not follow those rules here :)

  1. which keywords I need to have into the title of the article
  2. which additional keywords I need to have into the subtitle
  3. which text I want to promote to Heading or make it strong
  4. check the most important text in the article that has nice keyword density around my important information.
  5. if there are abbreviations – add the acronym tag to describe them.
  6. all images should have nice alt/title/file name text, When possible add link to the image to relevant information.
  7. links:
    1. which are my important links (containing keywords)
    2. which links should be interesting to be linked on psspy/dagens archive for more news
    3. does all links have title / alt tags, what keywords can I add there?
  8. do I want to provide a box with related news on this article

Argh…this rmagick gem – aways difficult to install/maintain.

I have recently upgraded to Ubuntu 10.04 and I got this nasty rmagick gem error:

RMagick2.so: This installation of RMagick was configured with ImageMagick 6.5.5 but ImageMagick 6.5.7-8 is in use. (RuntimeError)

google for This installation of RMagick was configured with ImageMagick 6.5.5 but ImageMagick 6.5.7-8 is in use. (RuntimeError)

then found this page in mixed English/Chinees

and finally got a page in German :)

Then I decide to write this post in English and slightly modify the solution

instead of putting

RMAGICK_BYPASS_VERSION_TEST = true in the deploy.rb

I have put this in the development.rb

and all it works – this way on the production I will be forced to use real compatible library or at least check again for another solution or gem.

AUCH! This solution doesn’t work even in development I got weird core dumps :( …so here it is another try

Here is the real working  solution:

su -
git clone http://github.com/rmagick/rmagick.git
cd rmagick/
ruby setup.rb
ruby setup.rb  install

Auch – PHP

WTF?!

PHP use one standard but those Symfony guys use another?!

You may wonder why the helpers are named according to the underscore syntax rather than the camelCase convention, used everywhere else in symfony. This is because helpers are functions, and all the core PHP functions use the underscore syntax convention.
ref: http://www.symfony-project.org/book/1_0/07-Inside-the-View-Layer#chapter_07_sub_helpers