random: (Default)
Random ([personal profile] random) wrote in [site community profile] dw_dev2009-05-26 03:30 pm

Twitter / Dreamwidth Interaction

So, like many people, I have both a Twitter and DW account, and I've been trying to figure out how to integrate them intelligently, since I find the automated Twitter daily posts incredibly annoying in other people's journal.

So, one thing that I was playing with was seeing if DW's styling code would allow me to embed the Twitter embedded feeds And the answer seems to be clearly that no, you can't embed it - I tried both putting it in Transmogrified as custom text, and putting it in a custom S1 style as a hard-code print command right after the sidebar was drawn, and both had the scripts stripped. That seems to be the case whether you use the Flash object or the JavaScript HTML embed version. (As an aside, since people load other people's pages in their own styles sometimes, I think it's the right call for the JS - I'm a little more surprised about the Flash, but I assume that it's to prevent embedded advertising by adver-bots.)

But I'm wondering if the S2 modules could give an option of actually creating a Twitter module, that would simply take as a username as an option (presumably in Text / Options in the "Customize Styles"), and then display the badge controlling the code that's used, so there's no risk of problems with XSS or adver-bots? Would there be interest from the development team in this? If so, is there anyone who is interested in doing this, since I've got way more experience in PHP and Java development than Perl? If there's interest in the feature but no one wants to jump on it, would someone who has been working on the DW codebase be willing to give me some pointers and do a code review for me?
ursamajor: Tajel on geeks (geeks: love them)

Including RSS feeds as sidebar modules

[personal profile] ursamajor 2009-05-28 03:04 am (UTC)(link)
I would love this implementation, but wonder about potential copyright violations if one decides to embed content that isn't theirs. One way I could see to alleviate this might be to only allow feeds you've already "claimed" as yours in your profile - like how you can already include your twitter and delicious and other such social networking info in specific fields there. Similarly, for nonSN websites such as a personaltop level domain, you could include it as a module as long as you'd already claimed it in your profile.
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

Re: Including RSS feeds as sidebar modules

[personal profile] matgb 2009-05-28 10:15 am (UTC)(link)
There's no greater copyright issue than someone embedding a youtube or copying an article. RSS feeds are there to promote content and get people to visit, if someone uses a feed they don't own, they're promoting that site.

The BBC actively encourages people to embed their feeds.

I'd have a problem claiming/proving all my sites are mine, I'd put my author feed up for the blogs I write for, they're owned by others. I'd probably even want to combine some of them using something like Pipes, and there's no way that could be claimed in any way; some of my sites would need to be piped or fed through Feedburner first anyway.