Am 04/29/2013 12:58 AM, schrieb Rob Weir:
On Sun, Apr 28, 2013 at 5:46 AM, Marcus (OOo)<marcus.m...@wtnet.de>  wrote:
Am 04/26/2013 02:51 AM, schrieb Rob Weir:

On Thu, Apr 25, 2013 at 4:54 PM, Marcus (OOo)<marcus.m...@wtnet.de>
wrote:

Hi Rob,

it's great that you keep our download counter up-to-date.

Because it's showing the numbers an a few webpages, IMHO it makes sense
to
centralize the core number, so that only one location has to be updated
and
no every webpage for itself.

I could give you this little present. ;-)


The thought has entered my mind.  But I haven't come up with a great
solution so far.

The "master" value is whatever is in the 3rd column of the last row of
this data file:

http://www.openoffice.org/stats/aoo34-downloads.txt

We'd need to extract that, divide by 1 million and truncate to get a
value like "47".


Yes, but this would be the master solution. I hadn't this in mind but more a
intermediate solution like caching the number in one file and all respective
webpages showing this.

Would this be acceptable? To get this out of "aoo34-downloads.txt" is one
step further I don't know how to do it yet.


It doesn't simple very simple to me.  If it was just text in<p>  on
the page, then making that dynamic is easy.  But the interaction with
Facebook is trickier.

For example, look at this OpenGraph metadata from the the download/index.html:

<meta property="og:description" content="Join the OpenOffice
revolution, the free office productivity suite with over 47 million
trusted downloads." />

Do we reallly need to state an exact number here?

IMHO it is sufficiant to state that we have "... millions over millions trusted downloads ..." or a similar text without numbers.

Marcus



This is in the<head>, so Javascript is not running yet.  And, it is
fetched by Facebook for creating posts when someone shares, and I
doubt they are interpreting Javascript.

So I like the idea of simplifying this, but I think it would need to
be done servers-side.


-Rob



Ideally ideally the aoo34-downloads.txt would also be updated
automatically based on calling the SourceForge REST API.


Sure ;-)


Marcus



Am 04/25/2013 03:47 PM, schrieb robw...@apache.org:

Author: robweir
Date: Thu Apr 25 13:47:34 2013
New Revision: 1475768

URL: http://svn.apache.org/r1475768
Log:
update download count

Modified:
       openoffice/ooo-site/trunk/content/index.html

Modified: openoffice/ooo-site/trunk/content/index.html
URL:

http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/index.html?rev=1475768&r1=1475767&r2=1475768&view=diff


==============================================================================
--- openoffice/ooo-site/trunk/content/index.html (original)
+++ openoffice/ooo-site/trunk/content/index.html Thu Apr 25 13:47:34
2013
@@ -136,9 +136,9 @@


     <div class="campaign">
-<h2>Over 44 million downloads of AOO 3.4</h2>
+<h2>Over 47 million downloads of AOO 3.4</h2>

-<p><em>31 March 2013:</em>    Apache OpenOffice 3.4 was released in
May. Downloads now exceed 44 million. We invite you to take a look at
+<p><em>20 April 2013:</em>    Apache OpenOffice 3.4 was released in
May. Downloads now exceed 47 million. We invite you to take a look at
        <a href="http://stats.openoffice.org/";>our interactive charts</a>
of daily and cumulative downloads.</p>
      </div>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to