WordPress.org

Ready to get started?Download WordPress

Forums

Semiologic - technorati tags (18 posts)

  1. jaycurrie
    Member
    Posted 9 years ago #

    Everything seems to work fine but the tags accumulate so that:

    Post 1

    apples, oranges

    Post 2

    apples, oranges, pears, fruit

    Post 3

    apples, oranges, pears, fruit, grapes, Mrs. Smith

    This is not good on an aggregator.

  2. Denis de Bernardy
    Member
    Posted 9 years ago #

    not sure what you mean... :/

  3. jaycurrie
    Member
    Posted 9 years ago #

    Not sure I can explain it much better but:

    Post 1
    Headline
    text...................................................

    tags "tag 1, tag 2"
    ---------------------------------------------------------------------------
    Post 2
    Headline
    text...................................................

    tags "tag 1, tag 2, tag 3, tag 4, tag 5"
    ---------------------------------------------------------------------------
    Post 3
    Headline
    text...................................................

    tags "tag 1, tag 2, tag 3, tag 4, tag 5, tag 6, tag 7, tag 8"
    ----------------------------------------------------------------------------
    Post n+1
    Headline
    text...................................................

    tags "tag 1, tag 2, tag 3, tag 4, tag 5, tag 6, tag 7, tag 8.......tag 222"
    ----------------------------------------------------------------------------

    For every post all of the tags generated for all of the proceeding posts are included as tags for that post.

    It gets to be a very big blog of text very fast.

  4. Denis de Bernardy
    Member
    Posted 9 years ago #

    url?

  5. jaycurrie
    Member
    Posted 9 years ago #

    http://info-syn.com

    I don't have the plug in activated at the moment for the obvious reason. However, if you drop me an email at jaycurrie@gmail.com with a time you'll check I'll put it up for a few minutes. I am on Pacific time.

  6. jaycurrie
    Member
    Posted 9 years ago #

    Alternatively, I could send you a screen shot...Let me know

  7. HowToBlog
    Member
    Posted 9 years ago #

    Hi Denis -

    I'm actually having quite a different problem with integration with Jerome's Keywords. Clicking on the tags in the posts results in a 404 error (which on my site currently redirects to a hotel site of mine - something that needs to be changed..)

    URL of example: http://knives.vsgd.com/how-to-measure-blade-length/

    Any suggestions you can provide would be appreciated! Thx

    - Emily from "How to Blog"

  8. Denis de Bernardy
    Member
    Posted 9 years ago #

    @Emily: edit and save your permalink structure (even without changing anything) as suggested by Jerome?

  9. HowToBlog
    Member
    Posted 9 years ago #

    @Denis: That did the trick. Thanks for the help and the fast response!

  10. jaycurrie
    Member
    Posted 9 years ago #

    Hi Denis, any thoughts on the accumulating tag issue??

  11. Denis de Bernardy
    Member
    Posted 9 years ago #

    jay -- try downloading the zip again, i've added code to flush the terms at each call to the get_terms method. this should normally fix your problem.

  12. tqn69
    Member
    Posted 9 years ago #

    @Denis, @Jay: I had the same problem with accumulating tags on the front page (and therefore could only use Terms2tags on my "single.php" page).

    Denis, I tried your new code in my "post.php" page. Now, the tags on the front page do not accumulate from post to post. However, the tags will only display for the first post, not for the others below it on the front page. This happens whether I use this, [?php sem_terms2tags(); ?], or this [?php sem_terms2tags( $arbitrary_post ); ?]

    Let me know if I'm missing something obvious. Thanks!

  13. jaycurrie
    Member
    Posted 9 years ago #

    Hi Denis, I have the exact same problem as tqn...But the accumulation problem is gone which is great.

  14. jaycurrie
    Member
    Posted 9 years ago #

    Just one other question - is there a way of setting the maximum number of tags??

  15. Denis de Bernardy
    Member
    Posted 9 years ago #

    i was thinking of adding this too, because the last tags usually are irrelevant.

    before:

    foreach ( $terms as $term )

    add the line:

    $terms = array_slice($terms, 0, 5):

  16. jaycurrie
    Member
    Posted 9 years ago #

    Hi Denis,

    Works a treat however the line should read,

    $terms = array_slice($terms, 0, 5);

    Meanwhile, is there anything you can do about getting this to work for every post rather than just the one...

    Thanks for all of this!

  17. Denis de Bernardy
    Member
    Posted 9 years ago #

    you mean the terms for the entire page?

  18. jaycurrie
    Member
    Posted 9 years ago #

    Hi,

    No, for each post on the page. Right now it just creates tage for the first post on the page. The rest are tagless.

Topic Closed

This topic has been closed to new replies.

About this Topic