Options

[Implemented] Remove the 255 keyword list limit

1356

Comments

  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 2, 2013
    Imagine all the mistyped keywords that go unnoticed. Without a list of all they will never be found.

    BTW, who picks the KW's that you see in the 255 list?
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    pilotdavepilotdave Registered Users Posts: 785 Major grins
    edited December 2, 2013
    Allen wrote: »
    Imagine all the mistyped keywords that go unnoticed. Without a list of all they will never be found.

    BTW, who picks the KW's that you see in the 255 list?

    This is especially true with the current bug that is occasionally separating multi-word keywords into multiple keywords. I can only find these errors using my legacy keyword page.

    The keywords shown on the new smug keyword page are obviously the 255 most commonly used keywords. I don't know how it handles ties. But on my site right now, keywords need to be used at least ~45 times to make the top 255. That's quite a big number to be filtering out, and it will only grow in the future.

    Dave
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 5, 2013
    Please make this a high priority, we need a full keyword list.

    With the current bugs of multiple KW splitting up and apostrophe problem not working there is no way to fix these
    or even find them.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    mbonocorembonocore Registered Users Posts: 2,299 Major grins
    edited December 5, 2013
    I will keep you posted Alan. Unfortunately, I don't have any new information for you today.
  • Options
    denisegoldbergdenisegoldberg Administrators Posts: 14,237 moderator
    edited December 6, 2013
    mbonocore wrote: »
    I will keep you posted Alan. Unfortunately, I don't have any new information for you today.
    Michael -
    Is this a candidate for the active bug list? It's not on the list right now but in my mind it should be, and at a high priority.

    As we have all said in this thread, this leaves us with no way to manage keywords. It's very hard to be consistent when we can't see all of the keywords we have used. And as Allen said, it leaves us no way to catch errors.

    --- Denise
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    I have not unveiled so every few days I go to the legacy KW list/page and check for errors. I've found a
    few every time. Without a full list the errors would remain forever.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited December 6, 2013
    So, I hacked up a customisation to get around this limit. It works by using your site's photo sitemap (it examines every photo in the sitemap and pulls out the keywords). Not sure if this is something useful or not:

    http://www.sherlockphotography.org/Customisations/Keyword-limit
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    Works great, thanks. All my public KWs look like they show (~850).

    Problem I have it's all the KW's in passworded galleries that I have. Those are the ones I've been
    chasing and fixing. Logged in legacy shows those. Logged in NewSmug does not.
    All these PW'ed galleries are set fully pubic and searchable except for the PW.

    CSS worked to expand KWs full width.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited December 6, 2013
    Ahh gotcha! Sorry, this approach can't solve that issue (because sitemaps are always rendered when not logged-on).

    I could definitely extend my "back up your SmugMug site" Chrome extension to do that, but it'd be a good chunk of work and I don't think there would be that many people wanting to use it.
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    Here's a screen shot of the new keyword list, lower box, using this method. The top box is the previous
    manual list I created which allowed me to use actual correct names linking to each keyword.
    BTW, it's no where near updated to current list. Single quotes were removed from KW's couple weeks ago.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    guyguy Registered Users Posts: 191 Major grins
    edited December 6, 2013
    Lamah wrote: »
    So, I hacked up a customisation to get around this limit. It works by using your site's photo sitemap (it examines every photo in the sitemap and pulls out the keywords). Not sure if this is something useful or not:

    http://www.sherlockphotography.org/Customisations/Keyword-limit

    Hey thanks for this Lamah!

    I ran it & found I have a whole bunch more key word problems that I didn't know I had!

    Up until now I thought that the splitting of multi word key words was only happening if I opened & edited a photo's details in the new SM. I now see that a bunch of multiword keywords in galleries I haven't even opened since the new SM release have had all their key words split up into useless individual words.

    SIGH..
  • Options
    thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited December 6, 2013
    Allen wrote: »
    Here's a screen shot of the new keyword list, lower box, using this method. The top box is the previous
    manual list I created which allowed me to use actual correct names linking to each keyword.
    BTW, it's no where near updated to current list. Single quotes were removed from KW's couple weeks ago.

    Yeah, SmugMug shows that they last generated your sitemap on 2013-11-29, or perhaps the day before, depending on timezones. I'm not sure how frequently it is regenerated on average.

    You could tweak the presentation of the list I generated to match your manual one more closely, using CSS (e.g. bullets and spacing).

    One tweak you might consider is this, which attempts to capitalise each word:
    .sm-page-widget-feed .sm-keywords-list a {
    	text-transform: capitalize;
    }
    

    I've also added the ability to convert underscores to hyphens automatically, so use this URL for your feed instead which adds a parameter to turn that feature on:

    http://smugedit.com/keywords/list?underscores-to-hyphens&url=http://www.photosbyat.com/
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    Lamah wrote: »
    Yeah, SmugMug shows that they last generated your sitemap on 2013-11-29, or perhaps the day before, depending on timezones. I'm not sure how frequently it is regenerated on average.

    You could tweak the presentation of the list I generated to match your manual one more closely, using CSS (e.g. bullets and spacing).

    One tweak you might consider is this, which attempts to capitalise each word:
    .sm-page-widget-feed .sm-keywords-list a {
        text-transform: capitalize;
    }
    
    I've also added the ability to convert underscores to hyphens automatically, so use this URL for your feed instead which adds a parameter to turn that feature on:

    http://smugedit.com/keywords/list?underscores-to-hyphens&url=http://www.photosbyat.com/
    Looks much better with hyphens. Added the text-transform in this.
    .sm-page-widget-3992611 {
      height: 400px;
      overflow: scroll;
      overflow-x: hidden;
      border: 6px double #222;
      background: rgba(22, 22, 22, .40);
      padding: 0 10px;
      text-align: justify;
      margin: 0 auto;
      width: 90%;
     [COLOR=Red] text-transform: capitalize;[/COLOR]
    }
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    denisegoldbergdenisegoldberg Administrators Posts: 14,237 moderator
    edited December 6, 2013
    Lamah wrote: »
    So, I hacked up a customisation to get around this limit. It works by using your site's photo sitemap (it examines every photo in the sitemap and pulls out the keywords). Not sure if this is something useful or not:

    http://www.sherlockphotography.org/Customisations/Keyword-limit
    Thank you! I'm very happy to be able to see all of my keywords.

    --- Denise
  • Options
    ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited December 6, 2013
    Lamah wrote: »
    So, I hacked up a customisation to get around this limit. It works by using your site's photo sitemap (it examines every photo in the sitemap and pulls out the keywords). Not sure if this is something useful or not:

    http://www.sherlockphotography.org/Customisations/Keyword-limit

    :ivar clap.gifwings.gif :ivar
    bowdown.gifbowdown.gifbowdown.gifbowdown.gif

    THANNNK YOUUUUU!!!

    May I ask, I put this on the sites Keyword page - but at the bottom below the feed block you instruct us to insert, are the site's keywords. Should I not use this URL for this customization? Create a new gallery for this purpose?
  • Options
    W.W. WebsterW.W. Webster Registered Users Posts: 3,204 Major grins
    edited December 6, 2013
    Thanks yet again, Nicholas - including for the service you are providing us via your server. thumb.gif

    How difficult would it have been for SmugMug to have done this? And if SmugMug had done it, the keyword list would be updated much more quickly, often immediately as previously, I suspect. headscratch.gif

    Just a couple of quick questions. How can i suppress display of the Social/Feed content box title? It's redundant for me with my page already titled, but the content box will not create unless titled. And how can I change the colour used for the displayed keywords (it's a little dark at present)?

    Thanks again. You're a Godsend to many users!
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    Thanks yet again, Nicholas - including for the service you are providing us via your server. thumb.gif

    How difficult would it have been for SmugMug to have done this? And if SmugMug had done it, the keyword list would be updated much more quickly, often immediately as previously, I suspect. headscratch.gif

    Just a couple of quick questions. How can i suppress display of the Social/Feed content box title? It's redundant for me with my page already titled, but the content box will not create unless titled. And how can I change the colour used for the displayed keywords (it's a little dark at present)?

    Thanks again. You're a Godsend to many users!
    Create the box with the title, them after publishing go back in and delete the title. I deleted mine
    then added an html box just above for a more extensive title/text. See post #74 above.

    When you get it created and published fire back here and we'll get the widget class and CSS you.
    I'm assuming it's on your /keyword page.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    W.W. WebsterW.W. Webster Registered Users Posts: 3,204 Major grins
    edited December 6, 2013
    Allen wrote: »
    Create the box with the title, them after publishing go back in and delete the title.
    Thanks, Allen - that worked a treat! thumb.gif
    Allen wrote: »
    When you get it created and published fire back here and we'll get the widget class and CSS you.
    I'm all ears! ear.gif
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    Thanks, Allen - that worked a treat! thumb.gif

    I'm all ears! ear.gif
    What page is it on? I don't see it on your /keyword page.
    oop, found it
    This should work. Add to "Just this page" CSS.
    .sm-page-widget-3997660 a {
       color: #aaa !important;
    }
    
    If you want them justified
    .sm-page-widget-3997660  {
      text-align:justify;
    }
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    W.W. WebsterW.W. Webster Registered Users Posts: 3,204 Major grins
    edited December 6, 2013
    Allen wrote: »
    What page is it on? I don't see it on your /keyword page.
    I created a new page accessed from the Site Keywords link in my menu. I didn't realise i could modify the standard Keywords page, but I will look into that.
    Allen wrote: »
    This should work. Add to "Just this page" CSS.
    .sm-page-widget-3997660 a {
       color: #aaa !important;
    }
    
    I'm onto it. Thanks
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    I created a new page accessed from the Site Keywords link in my menu. I didn't realise i could modify the standard Keywords page, but I will look into that.

    I'm onto it. Thanks
    If you use the /keyword page to open a keyword, that long list remains above and a long scroll down will
    be required I think to see the "gallery". Visitors might not realize that the "gallery" opened below. I might
    change mine to a separate page also so that doesn't happen.

    BTW, I added an optional extra CSS rule in my last post.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    ....
    When clicking a keyword on your new page and going to it's gallery the breadcrumb shows. I'd hide that
    as the path goes back to the /keyword page, not your new one.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    W.W. WebsterW.W. Webster Registered Users Posts: 3,204 Major grins
    edited December 6, 2013
    Allen wrote: »
    When clicking a keyword on your new page and going to it's gallery the breadcrumb shows. I'd hide that as the path goes back to the /keyword page, not your new one.
    Thanks. I was aware of that but had parked it with a view to dealing with it (or trying to) later. I'd prefer not to have no breadcrumb at all. That was the reason my interest was peaked when it was apparent you were using the standard keyword page.
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    Thanks. I was aware of that but had parked it with a view to dealing with it (or trying to) later. I'd prefer not to have no breadcrumb at all. That was the reason my interest was peaked when it was apparent you were using the standard keyword page.
    You can delete the breadcrumb. Just be sure "Just this page" is highlighted on the right.

    Try this CSS in "Just this page" CSS
    .sm-page-widget-3997660 a {
       color: #aaa !important;
       text-transform: capitalize;
    }
    
    .sm-page-widget-3997660  {
       text-align:justify;
    }
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    W.W. WebsterW.W. Webster Registered Users Posts: 3,204 Major grins
    edited December 6, 2013
    Allen wrote: »
    You can delete the breadcrumb. Just be sure "Just this page" is highlighted on the right.
    Also add an html box above the keyword list with a link back to your page.

    To return to Site Keyword page <a href="/Site-Keywords/n-84dk6">Click here</a>

    Try this CSS in "Just this page" CSS
    .sm-page-widget-3997660 a {
       color: #aaa !important;
       text-transform: capitalize;
    }
    
    .sm-page-widget-3997660  {
       text-align:justify;
    }
    
    Thanks again. I need to just take a few breaths while I think where I take this next, if anywhere. I'm happy with lower case and left justification at third stage, but appreciate the help and suggestions! <img src="https://us.v-cdn.net/6029383/emoji/thumb.gif&quot; border="0" alt="" >
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 6, 2013
    Thanks again. I need to just take a few breaths while I think where I take this next, if anywhere. I'm happy with lower case and left justification at third stage, but appreciate the help and suggestions! thumb.gif
    Been playing :D text color and hover color
    .sm-page-widget-3997660 a {
       color: #aaa !important;
       text-transform: capitalize;
    }
    
    .sm-page-widget-3997660 a :hover,
    .sm-page-widget-3997660 a:hover {
       color: #55D4FA !important;
    }
    
    .sm-page-widget-3997660  {
       text-align:justify;
    }
    
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    W.W. WebsterW.W. Webster Registered Users Posts: 3,204 Major grins
    edited December 6, 2013
    Allen wrote: »
    Been playing :D ... hover color
    Thanks for the hover colour - now matches my logo as I've previously done with the nav menu! thumb.gif
  • Options
    thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited December 7, 2013
    How difficult would it have been for SmugMug to have done this?

    To replicate exactly this? Well, this is an approach that if I were SmugMug, I'd never consider. There are too many caveats - it only shows Web searchable images (should be showing SmugMug searchable ones), only shows publicly visible images and cannot ever be extended to show private images when logged on, and is only updated periodically (no more frequently than once a week, potentially just once a month). Support queries and complaints would be through the roof, since the feature clearly "doesn't work properly".

    If they went ahead and did it this way anyway, the extra load on their servers from everybody using this feature would be pretty significant. This is because the sitemap is a very large document, which must be decompressed, parsed and processed. Caching would also need to be considered to reduce load. Most likely they would have to provision and install new hardware to support it.

    It works for me because I only expect a couple of hits per day which I actually need to process, the rest will hit my cache (which lasts for 2 days and needn't be very large, since only a handful of people will use it).

    FWIW, according to my source control system, I developed, tested and published this in about 2 hours, it is 178 lines of PHP code.
    And if SmugMug had done it, the keyword list would be updated much more quickly, often immediately as previously, I suspect. headscratch.gif

    Only if they did it in a very different way. Depending on how their keywords are stored, their backend search server might only support listing the top 255 keywords with no easy path to creating a list of all of them. Or perhaps the limit is completely arbitrary and they could bump it up tomorrow.
  • Options
    thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited December 7, 2013
    ChancyRat wrote: »
    May I ask, I put this on the sites Keyword page - but at the bottom below the feed block you instruct us to insert, are the site's keywords. Should I not use this URL for this customization? Create a new gallery for this purpose?

    You can hide the default SmugMug keyword cloud by adding this as a CSS block to that page:
    .sm-page-widget-keywords[data-typeid="0"] {
      display: none;
    }
    
  • Options
    denisegoldbergdenisegoldberg Administrators Posts: 14,237 moderator
    edited December 7, 2013
    we still need SmugMug to remove the 255 keyword list limit!

    This is a workaround for now but when clicking on a keyword takes the viewer to the "keyword" page to see the thumbs, it appears that are two behaviors:
    1. If Lamah's keyword hack is placed on the keyword page the keyword "cloud" is above the thumbs. As Allen mentioned this means that viewers may not realize the photos are even there.
      ...Awesome! fixed already with code here.
    2. If the hack is placed on a different page the thumbs of the keyworded photos are shown in the proper place. Unfortunately clicking on the breadcrumb takes the viewer back to the standard smug keyword page.

    Michael -
    are you still following this conversation? I know you said yesterday there wasn't anything you could say, but can you at least acknowledge that it is a problem? I really don't understand how showing only a random set of keywords out of all of the keywords on the site can be viewed as a feature. Why is this not on the active bug list? Or is this another patent issue like the mobile buy issue as noted in this thread?

    --- Denise
Sign In or Register to comment.