浏览代码

add blogfeed, screencast, socialbar gadget

Flow.Antony@gmail.com 12 年之前
父节点
当前提交
af391d9123

+ 21 - 0
plugins/org.yakindu.sct.doc.user/gadgets/blogfeed.xml

@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Module>
+	<ModulePrefs title="getting started">
+		<Require feature="dynamic-height" />
+	</ModulePrefs>
+	<Content type="html">
+		<![CDATA[ 
+			<script type="text/javascript">
+				google.load("feeds", "1");
+	
+				function OnLoad() {
+					var feedControl = new google.feeds.FeedControl();
+					feedControl.addFeed("http://blog.yakindu.org/feed/", "");
+					feedControl.draw(document.getElementById("feed"));
+				}
+				google.setOnLoadCallback(OnLoad);
+			</script>
+			<div id="feed" class="span12" onload=""></div>
+		]]>
+	</Content>
+</Module>

+ 11 - 0
plugins/org.yakindu.sct.doc.user/gadgets/screencast.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Module>
+	<ModulePrefs title="getting started">
+		<Require feature="dynamic-height" />
+	</ModulePrefs>
+	<Content type="html">
+		<![CDATA[ 
+			<iframe	src="http://player.vimeo.com/video/53438504?autoplay=0&title=0" width="800" height="600" frameborder="0"> </iframe>		
+		]]>
+	</Content>
+</Module>

+ 63 - 0
plugins/org.yakindu.sct.doc.user/gadgets/socialbar.xml

@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<Module>
+	<ModulePrefs title="getting started">
+		<Require feature="dynamic-height" />
+	</ModulePrefs>
+	<Content type="html">
+		<![CDATA[ 
+		<div class="span12 pagination-centered">
+			<h3>
+				Do
+				you like Yakindu? Tell your friends!
+				<!-- Twitter -->
+				<a href="https://twitter.com/share" class="twitter-share-button"
+					data-url="http://www.statecharts.org" data-text="Check out Yakindu Statechart Tools"
+					data-via="yakindu" data-count="none" data-hashtags="yakindu">Tweet</a>
+				<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>
+
+				<!-- google plus -->
+
+				<!-- Place this tag where you want the +1 button to render. -->
+				<div class="g-plusone" data-size="medium" data-annotation="none"></div>
+
+				<!-- Place this tag after the last +1 button tag. -->
+				<script type="text/javascript">
+					(function() {
+					var po =
+					document.createElement('script'); po.type =
+					'text/javascript';
+					po.async = true;
+					po.src = 'https://apis.google.com/js/plusone.js';
+					var s = document.getElementsByTagName('script')[0];
+					s.parentNode.insertBefore(po, s);
+					})();
+				</script>
+
+				<!-- Linked in -->
+
+				<script src="//platform.linkedin.com/in.js" type="text/javascript">
+					lang: en_US
+				</script>
+				<script type="IN/Share" data-url="http://www.statecharts.org"></script>
+				<!-- Xing -->
+
+				<div data-counter="no_count" data-type="XING/Share"
+					data-url="http://www.statecharts.org"></div>
+				<script>
+					;(function (d, s) {
+					var x = d.createElement(s),
+					s =
+					d.getElementsByTagName(s)[0];
+					x.src =
+					"https://www.xing-share.com/js/external/share.js";
+					s.parentNode.insertBefore(x, s);
+					})(document, "script");
+				</script>
+			</h3>
+		</div>
+		 ]]>
+	</Content>
+</Module>