LiveJournal Filter

By Dmitry Rubinstein Last update Jan 5, 2008 — Installed 473 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 3 posts, 2 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Xtina Scriptwright

Ack. Change these two lines, from what I just commented:

name: 'Expressive / Mixit',userXpath: ".//div[@class='user-icon']/span[last()]/span[@class='ljuser']//b/text()",

I'm sure there's a cleaner way, but I couldn't find it. :/

 
Xtina Scriptwright

To get it to work with Expressive, add this chunk into the styles array:

    // Expressive
    {
      name: 'Expressive',
      entryXpath: "//div[@class='post-asset asset']",
      userXpath: ".//span[@class='ljuser']//b/text()",
      tagXpath: ".//ul[@class='asset-tags-list']//a[contains(@href, 'tag')]/text()",
      textXpath: ".//div[@class='asset-content']",
      removeFunction: function(entry) {
        par = entry.parentNode;
        remember(par, entry);
      }
    },

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel