This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/openoffice-org.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new 76355c5b90 git-site-role commit from build_staging.sh
76355c5b90 is described below
commit 76355c5b9065e84b354569a202e90f4cbe1401c5
Author: jenkins <[email protected]>
AuthorDate: Wed Jul 12 19:43:01 2023 +0000
git-site-role commit from build_staging.sh
---
content/feed.xml | 4 +-
content/scripts/entourage.js | 80 -------------------------------------
content/scripts/google-analytics.js | 14 -------
3 files changed, 2 insertions(+), 96 deletions(-)
diff --git a/content/feed.xml b/content/feed.xml
index 2d9b848f67..d4833df50b 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -6,8 +6,8 @@
<atom:link href="http://localhost:8820/feed.xml" rel="self"
type="application/rss+xml" />
<description>OpenOffice.org Feed</description>
<language>en-us</language>
- <pubDate>Tue, 11 Jul 2023 19:18:33 +0000</pubDate>
- <lastBuildDate>Tue, 11 Jul 2023 19:18:33 +0000</lastBuildDate>
+ <pubDate>Wed, 12 Jul 2023 19:38:34 +0000</pubDate>
+ <lastBuildDate>Wed, 12 Jul 2023 19:38:34 +0000</lastBuildDate>
</channel>
diff --git a/content/scripts/entourage.js b/content/scripts/entourage.js
deleted file mode 100644
index b634387260..0000000000
--- a/content/scripts/entourage.js
+++ /dev/null
@@ -1,80 +0,0 @@
-<script type="text/javascript">
-/*!
- * Entourage 1.1.2 - Automatic Download Tracking for Asynchronous Google
Analytics
- *
- * Copyright (c) 2011 by Tian Valdemar Davis (http://techoctave.com/c7)
- * Licensed under the MIT (http://en.wikipedia.org/wiki/MIT_License) license.
- *
- * Learn More:
http://techoctave.com/c7/posts/58-entourage-js-automatic-download-tracking-for-asynchronous-google-analytics
- *
- * 2012-04-24 Mod by robweir to whitelist additional file extensions as used
in AOO project
- * 2012-04-25 Mod by robweir to remove trailing "/download" from SourceForge
file names, a hack we can hopefully remove someday
- */
-
-/*jshint strict:false */
-
-(function() {
-var entourage = new (function() {
- var version = "1.1.2";
- var whitelist =
/\.pdf$|\.zip$|\.gz$|\.gz\/download$|\.bz2$|\.bz2\/download$|\.od*|\.doc*|\.xls*|\.ppt*|\.exe$|\.exe\/download$|\.dmg$|\.dmg\/download$|\.mov$|\.avi$|\.mp3$/i;
-
- //Get true FileName from link pathname
- var getFileName = function(pathname) {
- //Remove the anchor at the end (if one exists)
- pathname = pathname.substring(0, (pathname.indexOf("#") === -1)
? pathname.length : pathname.indexOf("#"));
-
- //Removes the query after the file pathname (if one exists)
- pathname = pathname.substring(0, (pathname.indexOf("?") === -1)
? pathname.length : pathname.indexOf("?"));
-
- //Remove trailing /download
- if (/\/download$/.test(pathname))
- pathname = pathname.substring(0,
pathname.length-"/download".length);
-
- //Removes everything before the last slash in the path
- pathname = pathname.substring(pathname.lastIndexOf("/") + 1,
pathname.length);
-
- return pathname;
- };
-
- var autograph = function() {
- var fileName, associate;
-
- //Get the file name
- fileName = getFileName(this.pathname); //The link object is now
available in "this"
-
- //Add file to the Google Analytics Queue
- associate = '/download/' + fileName;
-
- //Track download using Asynchronous Google Analytics
- _gaq.push(['_trackPageview', associate]);
- };
-
- var initialize = function() {
- var links = document.links;
-
- for (var i = 0, l = links.length; i < l; i++) {
- //Compare the fileType to the whitelist
- var match = links[i].pathname.match(whitelist);
-
- //If the link is for a file download . . .
- if (typeof match !== "undefined" && match !== null) {
- //Call Entourage whenever the link is clicked
- links[i].onclick = autograph;
- }
- }
- };
-
- return {
- version: version,
- initialize: initialize
- };
-})(); //Entourage.js
-
-//Add entourage to the global namespace
-window.entourage = entourage;
-
-//Execute entourage onload - ensuring links are present in the DOM
-window.onload = entourage.initialize;
-})();
-</script>
-
diff --git a/content/scripts/google-analytics.js
b/content/scripts/google-analytics.js
deleted file mode 100644
index e2acbc6504..0000000000
--- a/content/scripts/google-analytics.js
+++ /dev/null
@@ -1,14 +0,0 @@
-<script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-98607986-1']);
- _gaq.push(['_setDomainName', 'openoffice.org']);
- _gaq.push (['_gat._anonymizeIp']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type =
'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
- })();
-</script>
-