following a fair few hours examining the source generated by blogspot,
looking for the most applicable place in code to make the addition of
custom JavaScript. However it appeared that your XML was too well
formed as to embed all if not most of the additional source
contributed by the user, disabling their source from direct edit along
with other code - replacing it with '<data:content/>' altering the
rules and transforming users contributions in affect allowing only one
real way to make future edits via the applicable form fields / for the
widgets although these are not true API's as directed on your site to
build.
Are any amendments planned to this in the near future?
example source;
-----------------------
<b:widget id='HTML8' locked='false' title='Feed' type='HTML'>
<b:includable id='main'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</b:includable>
</b:widget>
using '<data:content/>' as a referrer to the following source, grabbed
from 'socialmention';
<script type="text/javascript">
// search phrase (replace this)
var smSearchPhrase = 'socialmention';
// title (optional)
var smTitle = 'Realtime Buzz';
// items per page
var smItemsPerPage = 7;
// show or hide user profile images
var smShowUserImages = true;
// widget font size in pixels
var smFontSize = 11;
// height of the widget
var smWidgetHeight = 500;
// sources (optional, comment out for "all")
//var smSources = ['twitter', 'googleblog', 'brightkite', 'delicious',
'friendfeed', 'flickr', 'identica', 'youare', 'digg'];
</script>
<script type="text/javascript" language="javascript" src="http://
socialmention.com/widgets/buzz.js"></script>
worth a mention..
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.
No comments:
Post a Comment