You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2016/02/15 16:53:58 UTC

svn commit: r1730552 - in /tomcat/site/trunk: docs/index.html xdocs/index.xml

Author: markt
Date: Mon Feb 15 15:53:57 2016
New Revision: 1730552

URL: http://svn.apache.org/viewvc?rev=1730552&view=rev
Log:
Add a Social Media section to the homepage with a "Follow us on Twitter" button

Modified:
    tomcat/site/trunk/docs/index.html
    tomcat/site/trunk/xdocs/index.xml

Modified: tomcat/site/trunk/docs/index.html
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/index.html?rev=1730552&r1=1730551&r2=1730552&view=diff
==============================================================================
--- tomcat/site/trunk/docs/index.html (original)
+++ tomcat/site/trunk/docs/index.html Mon Feb 15 15:53:57 2016
@@ -237,6 +237,26 @@ project logo are trademarks of the Apach
 
 
 </div>
+<h3 id="Social_Media">Social Media</h3>
+<div class="text">
+
+<p>
+<a href="https://twitter.com/TheApacheTomcat" class="twitter-follow-button" data-show-count="false">Follow @TheApacheTomcat</a>
+</p>
+
+<script>
+!function(d,s,id){
+  var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
+  if(!d.getElementById(id)){
+    js=d.createElement(s);
+    js.id=id;
+    js.src=p+'://platform.twitter.com/widgets.js';
+    fjs.parentNode.insertBefore(js,fjs);
+  }
+}(document, 'script', 'twitter-wjs');
+</script>
+
+</div>
 <h3 id="Tomcat_6.0.45_Released">
 <span style="float: right;">2016-02-11</span> Tomcat 6.0.45 Released</h3>
 <div class="text">

Modified: tomcat/site/trunk/xdocs/index.xml
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/index.xml?rev=1730552&r1=1730551&r2=1730552&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/index.xml (original)
+++ tomcat/site/trunk/xdocs/index.xml Mon Feb 15 15:53:57 2016
@@ -38,6 +38,22 @@ project logo are trademarks of the Apach
 
 </section>
 
+<section name="Social Media">
+<p><a href="https://twitter.com/TheApacheTomcat" class="twitter-follow-button"
+      data-show-count="false">Follow @TheApacheTomcat</a></p>
+<script>
+!function(d,s,id){
+  var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
+  if(!d.getElementById(id)){
+    js=d.createElement(s);
+    js.id=id;
+    js.src=p+'://platform.twitter.com/widgets.js';
+    fjs.parentNode.insertBefore(js,fjs);
+  }
+}(document, 'script', 'twitter-wjs');
+</script>
+</section>
+
 <section name="Tomcat 6.0.45 Released" rtext="2016-02-11">
 <p>
 The Apache Tomcat Project is proud to announce the release of version 6.0.45 of



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r1730552 - in /tomcat/site/trunk: docs/index.html xdocs/index.xml

Posted by Mark Thomas <ma...@apache.org>.
On 15/02/2016 18:49, Konstantin Kolinko wrote:
> 2016-02-15 19:08 GMT+03:00 Mark Thomas <ma...@apache.org>:
>> On 15/02/2016 15:55, Mark Thomas wrote:
>>> On 15/02/2016 15:53, markt@apache.org wrote:
>>>> Author: markt
>>>> Date: Mon Feb 15 15:53:57 2016
>>>> New Revision: 1730552
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1730552&view=rev
>>>> Log:
>>>> Add a Social Media section to the homepage with a "Follow us on Twitter" button
>>>
>>> I've tried (and failed) to add the Subscribe to our YouTube channel
>>> button in this section. I'm not currently sure why it doesn't work.
>>> Ideas welcome.
>>
>> Bingo. It doesn't work when testing of the local file system. Just need
>> to clean the layout up and I'll have this ready to go.
> 
> 
> I am -1 for these buttons as they may collect statistics of your
> visits to this page.

OK. I'll remove them. We have the links in the left-hand menu.

Mark


> 
> Form legal point of view I think use of such buttons needs some kind
> of privacy statement.
> 
> 
> Best regards,
> Konstantin Kolinko
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r1730552 - in /tomcat/site/trunk: docs/index.html xdocs/index.xml

Posted by Konstantin Kolinko <kn...@gmail.com>.
2016-02-15 19:08 GMT+03:00 Mark Thomas <ma...@apache.org>:
> On 15/02/2016 15:55, Mark Thomas wrote:
>> On 15/02/2016 15:53, markt@apache.org wrote:
>>> Author: markt
>>> Date: Mon Feb 15 15:53:57 2016
>>> New Revision: 1730552
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1730552&view=rev
>>> Log:
>>> Add a Social Media section to the homepage with a "Follow us on Twitter" button
>>
>> I've tried (and failed) to add the Subscribe to our YouTube channel
>> button in this section. I'm not currently sure why it doesn't work.
>> Ideas welcome.
>
> Bingo. It doesn't work when testing of the local file system. Just need
> to clean the layout up and I'll have this ready to go.


I am -1 for these buttons as they may collect statistics of your
visits to this page.

Form legal point of view I think use of such buttons needs some kind
of privacy statement.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r1730552 - in /tomcat/site/trunk: docs/index.html xdocs/index.xml

Posted by Mark Thomas <ma...@apache.org>.
On 15/02/2016 15:55, Mark Thomas wrote:
> On 15/02/2016 15:53, markt@apache.org wrote:
>> Author: markt
>> Date: Mon Feb 15 15:53:57 2016
>> New Revision: 1730552
>>
>> URL: http://svn.apache.org/viewvc?rev=1730552&view=rev
>> Log:
>> Add a Social Media section to the homepage with a "Follow us on Twitter" button
> 
> I've tried (and failed) to add the Subscribe to our YouTube channel
> button in this section. I'm not currently sure why it doesn't work.
> Ideas welcome.

Bingo. It doesn't work when testing of the local file system. Just need
to clean the layout up and I'll have this ready to go.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: svn commit: r1730552 - in /tomcat/site/trunk: docs/index.html xdocs/index.xml

Posted by Mark Thomas <ma...@apache.org>.
On 15/02/2016 15:53, markt@apache.org wrote:
> Author: markt
> Date: Mon Feb 15 15:53:57 2016
> New Revision: 1730552
> 
> URL: http://svn.apache.org/viewvc?rev=1730552&view=rev
> Log:
> Add a Social Media section to the homepage with a "Follow us on Twitter" button

I've tried (and failed) to add the Subscribe to our YouTube channel
button in this section. I'm not currently sure why it doesn't work.
Ideas welcome.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org