[twitter-dev] Re: Twitter Profile Widget Change Header Text

2011-05-12 Thread Tim Meadowcroft

Personally I read the full source to see what's going on, and then figure 
out how to work around bits of it, so for example I might see when the 
header title is set and the selectors used, and then use its own routines to 
modify them (eg  hdr = widget.byClass(twtr-hd, div) and then manipulate 
the DOM myself) rather than use a modified version of the widget js file 
itself.

This way it's easier for me to keep up with changes to the widgets (eg the 
recent addition of intents) and to ensure I'm staying within the rules about 
presenting twitter content (logos, names, etc), but YMMV

--
T

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: Twitter Profile Widget Change Header Text

2011-05-11 Thread Tim Meadowcroft

If the standard widget code (http://twitter.com/widgets) is what you're 
looking at then I should point out

 * Author: Dustin Diaz (dus...@twitter.com)
 * For full documented source see 
http://twitter.com/javascripts/widgets/widget.js
 * Hosting and modifications of the original source IS allowed.

Reading the full documented source is quite useful  I use it to figure 
out how to slightly subvert the official widget code

--
T

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk


[twitter-dev] Re: Twitter Profile Widget Change Header Text

2011-05-11 Thread thomen
Thanks Tim..
yes i just ended up modifying the full source.. very strange they
would let you change the footer but not the header!

On May 12, 8:12 am, Tim Meadowcroft meer...@gmail.com wrote:
 If the standard widget code (http://twitter.com/widgets) is what you're
 looking at then I should point out

  * Author: Dustin Diaz (dus...@twitter.com)
  * For full documented source 
 seehttp://twitter.com/javascripts/widgets/widget.js
  * Hosting and modifications of the original source IS allowed.

 Reading the full documented source is quite useful  I use it to figure
 out how to slightly subvert the official widget code

 --
 T

-- 
Twitter developer documentation and resources: https://dev.twitter.com/doc
API updates via Twitter: https://twitter.com/twitterapi
Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
https://groups.google.com/forum/#!forum/twitter-development-talk