• samofnine

    (@samofnine)


    Hello,

    my problem are operator characters like | : – + in the post_title
    i.e. A Toy Story | Alles h?rt auf kein Kommando
    shows as: Alles h?rt auf kein Kommando, A Toy Story
    and
    A Toy Story – Alles h?rt auf kein Kommando
    shows as: A Toy Story –
    (same with ‘:’ )

    I need a separator for some titles!
    I already use title_divider=”The, Ein, A, An, Eine, Der, Die, Das, La, Le, L’, Les”

    while
    Avengers | Age of Ultron
    is shown as: Age of Ultron, Avengers
    but
    Avengers – Age of Ultron
    stays the same

    It also doesn’t show the title
    #Granizo
    It should be under ‘#’

    • This topic was modified 7 months ago by samofnine.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author tugbucket

    (@tugbucket)

    So you are asking to have multiple values for name_divider. Please update to 17.0.32 and see if that works. https://mctagmap.tugbucket.net/options/name_divider/

    as for:

    It also doesn’t show the title Granizo
    It should be under ‘#’

    where does it show? If I test locally with #posttitle it does sort that under #

    • This reply was modified 6 months, 3 weeks ago by tugbucket.
    Thread Starter samofnine

    (@samofnine)

    Problem 1: I have “Asteroid City” before #Granizo

    If I change “Asteroid City” to draft, the list entry ” disappears and #Granizo appears where it should.
    And there is no problem with a title starting with ( .

    Problem 2: A Toy Story – Alles h?rt auf kein Kommando

    Because of the A and the separator | the title appears as Alles h?rt auf kein Kommando, A Toy Story
    but with : or – or . instead of | it shows only as ‘A Toy Story -‘ unter the letter T without Alles h?rt auf kein Kommando

    name_divider doesn’t work. I already use title_divider, and if I add | to it it has no effect.

    Thread Starter samofnine

    (@samofnine)

    If I change the title to “Asteroid City“ (with a different quotation mark character) it works, though the new quotation mark appears now between the alphabet and the numbers.

    Is there a way to sort special characters before numbers before alphabet?

    Plugin Author tugbucket

    (@tugbucket)

    Please update to version 17.0.33

    How should A Toy Story – Alles h?rt auf kein Kommando be displayed?

    notice though:
    A Toy Story – Alles h?rt auf kein Kommando
    is not the same as
    A Toy Story – Alles h?rt auf kein Kommando

    the first is an en dash or em dash and the second is a hyphen. So if your shortcode is using a hyphen and your title is using a en or em dash, then those are not the same characters and it will not sort properly.

    Using: A Toy Story – Alles h?rt auf kein Kommando (note a hyphen) and using the shortcode of:
    [mctagmap show_posts="yes" show_navigation="yes" name_divider="|,-,+" title_divider="A" sort_alpha="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z" sort_alpha_extras="last"]
    displays: Alles h?rt auf kein Kommando, A Toy Story and sorted under “A”


    As for sorting the special characters after number, see the new value “last” https://mctagmap.tugbucket.net/options/sort_alpha_extras/

    so add to your shortcode :sort_alpha="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z" sort_alpha_extras="last"

    that should produce:
    letters
    numbers
    others

    • This reply was modified 6 months, 3 weeks ago by tugbucket.
    Thread Starter samofnine

    (@samofnine)

    My shortcode is now
    [mctagmap show_posts=”yes” show_navigation=”yes” title_divider=”The, Ein, A, An, Eine, der, Der, Die, die, das, Das, La, Le, L’, Les, Los, El” sort_alpha=”a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z” sort_alpha_extras=”last” multi_page=”yes” post_type=”post, filme” responsive=”yes” columns=”2″]

    name_divider has no effect at all in this case.

    You can see, how it sorts: https://screenmagazin.com/filme-az/

    The title is A Toy Story | Alles h?rt auf kein Kommando
    but it shows as Alles h?rt auf kein Kommando, A Toy Story under A

    When I use any other (or none!?) separator, it shows as A Toy Story (plus separator) under T without the rest of the title

    I could live with that, but I rather would have it listed under T

    Also I cannot merge the special characters ( ? ? é ? ? “ into the related or next letters…

    Plugin Author tugbucket

    (@tugbucket)

    @samofnine I have a fix for the title_divider but before I push an update, can you explain more about:

    Also I cannot merge the special characters ( ? ? é ? ? “ into the related or next letters…

    I’m not 100% sure what you mean by “related or next letters”

    Thread Starter samofnine

    (@samofnine)

    While #, , ( and ? appear before the first letter of those titles, where they should be listed under, ?, é, ? and ? should be sorted under c, e, o and i respectively. I tried your sorting version with ?c|?“ , but this destroys my site output.

    Multi language characters should always be sorted into its equivalent like
    a á à a ? ? or c ? ? ? or s ? ? ? ? etc.

    For a full list of characters see here: https://www.fileformat.info/info/unicode/char/a.htm

    But you only need the most common.

    For example:

    Los (casi) ídolos de Bahía Colorada is listed under ( because Los is a title_divider exception, so the title should be sorted under c for casi.
    And ?Que viva México! should be listed under q
    while L’ état et moi, currently listed under é (because L’ is a title_divider exception), should be listed under e.
    And “Asteroid City“ should be listed under a etc.

    Thread Starter samofnine

    (@samofnine)

    I don’t know if it has something to do with the last update, but tags in my index tag map with ‘&’ in it are now shown as ‘&’ – i.e. ‘Adil & Bilall’ (tag name: ‘Adil & Bilall’)

    In the map of post titles ‘&’ is correctly shown as ‘&’

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.