|
|
1行目: |
1行目: |
| <includeonly><!--{if not isset($jsapiLoaded)}--><!--{assign var="jsapiLoaded" value="1"}--><script src="http://www.google.com/jsapi" type="text/javascript"></script><!--{/if}--><!--{counter assign="googlenewsId" name="googleNews"}-->
| |
| <div id="googlenews_<!--{$googlenewsId}-->"></div>
| |
| <script type="text/javascript">
| |
| google.load('elements', '1', { packages: ['newsshow'] });
| |
| google.setOnLoadCallback(function() {
| |
| new google.elements.NewsShow('googlenews_<!--{$googlenewsId}-->', {
| |
| format: '<!--{$format|escape:'quote'|default:'300x250'}-->',
| |
| linkTarget: '_blank',
| |
| ned: 'jp',
| |
| <!--{if isset($query)}-->
| |
| queryList: [{
| |
| q: '<!--{$query|escape:'quote'|default:''}-->',
| |
| <!--{if isset($title)}-->
| |
| title: '<!--{$title|escape:'quote'|default:''}-->'
| |
| <!--{/if}-->
| |
| }],
| |
| <!--{/if}-->
| |
| });
| |
| });
| |
| </script>
| |
| </includeonly><noinclude>
| |
|
| |
|
| </noinclude>
| |