• Resolved StudioZ2

    (@studioz2)


    Hi!
    When added Word Count column to Posts admin view it shows incorrect data – showing more words than there really is in the post. This makes this option useless.

    What is the solution to show exact what an original ‘Word Count’ field is showing in post edit screen? Any fixes or maybe I am missing here something obvious?

    Regards, Lukas

    https://www.ads-software.com/plugins/codepress-admin-columns/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Jesper van Engelen

    (@engelen)

    The “Word Count” columns relies on the PHP function str_word_count internally. A problem with this function that it also counts HTML tags. Could it be that your post content contains quite a few HTML tags?

    Regardless, the “Word Count” should count the number of words excluding tags. We’ll be sure to fix this in the next version; thanks for your report!

    Plugin Author Jesper van Engelen

    (@engelen)

    I’m sorry, I made a mistake in my original answer: we actually do strip the tags from the post content. Could you paste the content you’re using here so I can analyze? Thanks in advance!

    Thread Starter StudioZ2

    (@studioz2)

    Hi!
    This is the case with any content – the real count that we are working on is the Word Count given in the Post Edit window. The count given in Admin Columns plugin (as well as in any other plugins) is somehow different. We rely on Word Count when it comes to billing for the authors, so it is really helpful to have this column, but we recognize that many plugins are giving false results (higher word count – probably counting in some extra characters from coding/tags/database – not sure), therefore giving higher results than in reality.

    For instance – this content gives 368 count in Word Count for Post Edit View window, but i gives 484 count in column for Word Count created by Admin Columns plugin:

    ***
    Jeszcze tylko przez kilka tygodni w g?ogowskim Muzeum Archeologiczno – Historycznym b?dzie mo?na zwiedza? wystaw? ?Wydrukowano w G?ogowie. Trzysta lat g?ogowskiego drukarstwa”. Na pó?metku s? równie? prowadzone w muzeum lekcje dla dzieci i m?odzie?y po?wi?cone w?a?nie sztuce drukarskiej.

    Wystawa mieszcz?ca si? w g?ogowskim Muzeum Archeologiczno–Historycznym trwa od wrze?nia bie??cego roku. Wystawa po?wi?cona g?ogowskiemu drukarstwu jest jednym z najwa?niejszych wydarzeń wystawienniczych tego roku w g?ogowskim muzeum. Przygotowana z du?ym rozmachem ekspozycja zosta?a dofinansowana przez Ministra Kultury i Dziedzictwa Narodowego, co pozwoli?o na realizacj? wystawy przy wykorzystaniu najnowszych rozwi?zań multimedialnych.

    – w G?ogowie po raz pierwszy wydrukowano ksi??k? w 1605 roku. Pocz?tkowo drukarnie dzia?a?y w mie?cie z przerwami, ale ju? od po?owy XVIII wieku zalicza?y si? do sta?ych warsztatów istniej?cych w G?ogowie. Z niewielkich rodzinnych oficyn wyros?y pot??ne przedsi?biorstwa, które cieszy?y si? renom? nie tylko w regionie. Firma Christiana Friedricha Gunthera, za?o?ona w G?ogowie w 1758 roku, da?a pocz?tek drukarniom w Lesznie, ?remie czy Gnie?nie. Na jej podwalinach rozpocz?? budow? w?asnego przedsi?biorstwa Carl Flemming – opowiada Renata Matysiak autorka wystawy.

    Podczas prawie stuletniej dzia?alno?ci sporz?dzono w oficynie ponad 1200 tytu?ów atlasów i map, które by?y najbardziej rozpoznawalnym produktem Flemminga w Europie. Wydawnictwo zawdzi?cza?o sukces swemu za?o?ycielowi, a tak?e licznym fachowcom, których umiej?tno?ci oraz twórcza inwencja pozwoli?y wypracowa? w?asny i niepowtarzalny styl tworzonych map – to tylko fragment historii g?ogowskiego drukarstwa opowiedzianej przez autork? wystawy. O tym, co dzia?o si? z g?ogowskim drukarstwem w latach pó?niejszych mo?na dowiedzie? si? w?a?nie dzi?ki wystawie ?Wydrukowano w G?ogowie. Trzysta lat g?ogowskiego drukarstwa.”

    Histori? g?ogowskiego drukarstwa ogl?da? mo?na od po?owy wrze?nia. Mimo trwaj?cych równolegle prac remontowych w muzeum i zwi?zanych z tym niedogodno?ci dla zwiedzaj?cych, ekspozycja cieszy si? du?ym zainteresowaniem. Ch?tnych nie brakuje równie? do udzia?u w muzealnych lekcjach, które po?wi?cone s? zagadnieniom zwi?zanym ze sztuk? drukarsk?. W zaj?ciach bior? udzia? nie tylko uczniowie g?ogowskich szkó? podstawowych, gimnazjów i szkó? ponadgimnazjalnych, ale tak?e uczniowie s?siednich miejscowo?ci.

    Ekspozycja dla zwiedzaj?cych dost?pna b?dzie do 14. grudnia bie??cego roku. Dzi?ki dofinansowaniu ze strony Ministerstwa Kultury i Dziedzictwa Narodowego zarówno wst?p na wystaw?, jak i przygotowany z tej okazji katalog b?d? bezp?atne. Nieodp?atnie z ekspozycji mog? skorzysta? tak?e uczniowie zainteresowanych t? ofert? edukacyjn? szkó?.

    W imieniu organizatorów serdecznie zapraszamy.

    Polecamy równie? nasz? fotorelacj? z wernisa?u wystawy ?Wydrukowano w G?ogowie. Trzysta lat g?ogowskiego drukarstwa.”
    ***

    Original content is in Polish language.
    Any ideas?

    Lukas

    PS: sorry for late response – was away

    Thread Starter StudioZ2

    (@studioz2)

    What is interesting:

    • when checked the text from an example given above at https://www.wordcounter.net/- it gives the same result as Word Count given by WordPress in post edit window – 368
    • when checked the same text at https://wordcounttools.com/ – it gives the same – false in my opinion – result as Admin Columns plugin – 488.

    So it is clearly about the logic used in the calculation I think. Hope this helps.

    Thread Starter StudioZ2

    (@studioz2)

    Any news on this issue?

    Thread Starter StudioZ2

    (@studioz2)

    Any response please?

    Thread Starter StudioZ2

    (@studioz2)

    Anything?

    Plugin Author Jesper van Engelen

    (@engelen)

    Heya! This issue should be fixed in the next release of Admin Columns!

    Hi Jesper

    in new version the count column work better, but it still count less than real.

    Thread Starter StudioZ2

    (@studioz2)

    Hi!
    I do not know why it is marked resolved as the issue is still the same – word count is not correct.

    anefarious1

    (@anefarious1)

    The word count is fairly accurate but I do notice some counts are incorrect. It would be great to have them all match the figure in the post edit window. There has to be a way to nail down what creates this discrepancy.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Wrong value for Word Count’ is closed to new replies.