Hi all!

Technorati has released today a very interesting service. They've developed a tag based searches based on Flickr tags, del.icio.us tags and blog post's categories.

Two examples:
http://www.technorati.com/tag/google
http://www.technorati.com/tag/basque

More about Technorati tags:
http://www.technorati.com/help/tags.html

COREBlog doesn't give info about our posts' categories in RDF files, so we need to change some lines of code in 2 files to show our posts in that service.

Let's go to change them ;)

Open rdf10_xml via ZMI:

Find this line:

  ...
  <dc:subject />
  ...

Delete it and put these lines:
  ...
  <dtml-in entry_category_list>
    <dc:subject><dtml-var name></dc:subject>
  </dtml-in>
  ...

Save it!

Now, the second step: open rdf91_xml via ZMI:

Find this line (it's the 3rd one):

...
<rss version="0.91">
...

And change it:

...
<rss version="0.91" xmlns:dc="http://purl.org/dc/elements/1.1/";>
...

Then find these lines:

        <dtml-in "rev_day_entry_items(count=top_days)">
        <item>
                <title><dtml-var title></title>
                <link><dtml-var blogurl>/<dtml-var id></link>
        </item>
        </dtml-in>

And change them:

        <dtml-in "rev_day_entry_items(count=top_days)">
          <item>
                <title><dtml-var title></title>
                <link><dtml-var blogurl>/<dtml-var id></link>
                <dtml-in entry_category_list>
                    <dc:subject><dtml-var name></dc:subject>
                </dtml-in>
          </item>
        </dtml-in>

Save it!

Now, we've to configure our COREBlog to ping Technorati each time we publish a post. Go to "Settings" tab, and add
http://rpc.technorati.com/rpc/ping
at "PING Servers".


Best wishes !


-- Mikel Larreategi [EMAIL PROTECTED]

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to