Tagged: wordpress Toggle Comment Threads | Keyboard Shortcuts

  • Joe 15:44 on June 5, 2009 Permalink
    Tags: bit.ly, is.gd, TinyURL, , wordpress, WordTwit   

    Use your blog as shortened URL service 

    WordTwit 2.0
    Image by Duane Storey via Flickr

    I just discovered and installed a very nice WordPress plugin, WordTwit. The main purpose of this plugin is to tweet your new blog posts on Twitter, together with a link to the new blog post.

    So far nothing too shocking new, but the latest version (2.0.x) of the plugin adds the option to use your own blog as url shortening and redirecting service. Think tinyurl.com, is.gd or one of the gazillion alternatives out there.

    Now that is really cool. Except it didn’t work for me.

    Turns out that there was a little bug if your blog is not served off the root or your domain, but a sub directory instead (which is /blog in my case).

    So, a patch (shortened link, noticed?) solved this and all should be set to go now.

    Oh and this post is serving as a test post for the Twitter update…

    Reblog this post [with Zemanta]
     
  • Joe 11:08 on April 6, 2009 Permalink
    Tags: , , , , wordpress   

    Thursday April 9th: CSS Naked Day 2009 

    CSS Naked Day 2009 April 9th

    CSS Naked Day 2009 April 9th

    It’s already a tradition started in 2006 by Dustin Diaz: CSS Naked Day, on April 9th.

    Many many blogs and sites will strip all CSS during 24 hours (effectively 48 hours for international compliance) and show the content “unstyled” as if no CSS existed.

    A great opportunity to show off how your site structure stands if all styling is removed, from the official website:

    The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and of course, a good ‘ol play on words. It’s time to show off your <body>.

    Are you using WordPress? Then join the movement by simply installing this CSS Naked Day plaugin for WordPress by Aja, activate it and you’re ready:

    CSS Naked Day plugin for WordPress automatically strips off XML/HTML stylesheet references, embedded stylesheets and inline styles—all without editing your template! It also provides a function to determine whether it is the 9th of April on the recommended worldwide 48-hour CSS Naked Day period or just your local 24-hour period if ever you want to automate a message telling viewers why your site is in the nude.

    Then head over to the CSS Naked Day website to add you to the list of participating sites.

    Follow CSS Naked Day on Twitter!

    Reblog this post [with Zemanta]
     
  • Joe 10:37 on March 27, 2009 Permalink
    Tags: cms, Content management system, content site, kinderysiotherapie, wordpress   

    Howto: add news section to WordPress Content Site 

    It makes much sense to use WordPress for a simple content site, consisting of just a bunch of (static) pages which need to be updated once in a while. For example, I used this approach for the (Dutch) website of Kinderfysiotherapie Den Haag Centrum.

    WordPress gives you a handy-dandy Content Management System (CMS) and there are lots of available templates to base your design on.

    Compared to the default configuration, you need to put some effort in the setup to use pages for the site’s navigation rather than blog posts, but this can be done by setting some options and tweak the menu structure of the template, which is all documented fairly well elsewhere (Customising WordPress – twine).

    Then comes the inevitable moment that you want to add a somewhat more dynamic news section to the site. It makes sense to use the excellent blog system, which WordPress essentially is, but then “inside out“, embedded in a news page rather than the primary site feature.

    There are a few possibilities here, but I settled for the Inline Feed plugin. Once activated, this plugin displays a list of your posts in any content area, with a few configurale options like sorting order and length of title etc.

    Now you can use the excellent native WordPress authoring and publishing system for posts for your news section, with all hidden gems like RSS feed generation, optional comments and all gazillion plugin powered extras.

    Reblog this post [with Zemanta]
     
  • Joe 16:14 on February 24, 2009 Permalink
    Tags: Atom, bug, , RSS, wordpress   

    Fix for error in WordPress rss feed module 

    WordPress Pumpkin

    Image by Eric M Martin via Flickr

    Using WordPress 2.7.1, there is a problem with the Atom feed export.

    In the apache error log are many occurrences of these two lines:

    Bad arguments. in /var/www/.../wp-includes/rss.php on line 175,
    The first argument, 'map_attrs', should be either NULL or a valid callback

    The problem appears to be a simple coding error: the callback function should be called as array reference, array(object, user_func).

    This has been reported as issue #9225, read on if you want to fix it for yourself right away…

    (More …)

     
  • Joe 23:08 on February 23, 2009 Permalink
    Tags: Linked Data, , , wordpress   

    Triplify your blog 

    blog resourcesDo you want to make your blog Semantic Web ready, but don’t know where to start?

    Just download and install the Triplify script, a lightweight tool to translate SQL query results into RDF triples and return the result in N3 (Notation3) or as JSON.

    The script itself is only capable of generating RDF, the actual matching between data and RDF output is specified in a configuration file. These configurations are available for many popular web applications, here is a Triplify configuration for WordPress 2.7.x.

    Installing is almost as simple as dropping the triplify directory in your WordPress root directory and uploading the correct configuration file. No need to configure any specific values for your WordPress set-up, these are read from the top level wp-config.php file.

    Now go to your blog and request the URL http://yourblog/triplify/ – this will return your blog’s content as RDF/N3 and at the same time register the feed at the Triplify Registration (well, if you leave the register switch at “true” in the config file).

    Now you dan play with your RDF data in various sources on the web, or locally.

    A good start for exploration is the SIMILE Welkin browser, also available as Java web start: run Welkin thru Java WebStart.

    Continue for an example…

    (More …)

     
  • Joe 22:32 on January 6, 2009 Permalink
    Tags: , charset, , encoding, , utf8, wordpress   

    WordPress config & database charset 

    Image representing WordPress as depicted in Cr...

    Image via CrunchBase

    As part of upgrading to WordPress 2.7, the character encoding of some existing posts appeared suddenly broken.

    Turns out that the charset specification from wp-config.php was not interpreted correctly any longer as UTF-8; changing the name from ‘utf8‘ (without dash) to ‘utf-8‘ did the trick.

    Update Feb 24: my error log shows lots and lots of warnings like these:

    WordPress database error Unknown character set: 'utf-8' for 
      query SET NAMES 'utf-8' made by require, require_once,
      require_once, require_once, require_wp_db, require_once

    The right solution seems to remove (comment) the line specifying the DB_CHARSET alltogether:

    /** Database Charset to use in creating database tables. */
    // define('DB_CHARSET', 'utf8');

    Read more about editing wp-config (wordpress.org)…

    Reblog this post [with Zemanta]
     
    • gemp 20:56 on January 16, 2009 Permalink | Reply

      You just saved my life (and a friendship).

      Thanks

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel

Twitter links powered by Tweet This v1.8.3, a WordPress plugin for Twitter.