[liberationtech] Should we start a new Stanford liberationtech-news list?
Yosem Companys
companys at stanford.edu
Sun Feb 19 16:59:22 PST 2017
Sounds good, Rick. Anyone want to volunteer to help Rick finetune his code?
Thanks,
Yosem
On Sun, Feb 19, 2017 at 4:31 PM, <lists at rickv.com> wrote:
> On Sun, Feb 19, 2017 at 04:36:02PM -0500, Thomas Delrue wrote:
>
>> On 02/19/2017 04:25 PM, Rick Valenzuela wrote:
>>
>>> and maybe the URL for the article linked within the tweet.
>>>
>>
>> Please consider santizing this (i.e. remove the redirection that first
>> hits twatter) so that they doesn't see that you click on/visit the link,
>> that would be good.
>> Plus, then people also immediately know where they'll be taken if they
>> click the link.
>>
>> Also, avoid HTML, prefer plaintext. Why dazzle them with style, when you
>> can dazzle them with substance?
>>
>
> Hi Thomas,
>
> I rewrote my script to do that; each tweet would be split into three
> lines: the tweet's URL, the tweet text and the expanded link contained
> within the tweet. For example:
>
> ```
> https://twitter.com/Liberationtech/status/833379727691886592
> The latest The Liberationtech Daily! https://t.co/WGRVUpKJUC
> http://paper.li/Liberationtech?edition_id=853a4330-f6cf-
> 11e6-89dc-0cc47a0d15fd
> ```
>
> I put it in a repo here: https://github.com/rveeblefetz
> er/libtech_days_tweets
>
> There is one issue: if the tweet is a retweet or reply, the expanded_url
> from the API's 'entities' shows a truncated short URL, like: https://t.co…
>
> And hey Ceci! The script I posted also uses Tweepy. Check it out --
> there is of course much more data that could be pulled, but I kept it
> minimal, thinking that this is likely best for a plaintext summary.
>
> Best,
> Rick
>
> --
> Rick Valenzuela
> Videojournalist
> Shanghai, China
>
> GPG: 0x054124ADD5644029
> --
> Liberationtech is public & archives are searchable on Google. Violations
> of list guidelines will get you moderated: https://mailman.stanford.edu/m
> ailman/listinfo/liberationtech. Unsubscribe, change to digest, or change
> password by emailing moderator at companys at stanford.edu.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/liberationtech/attachments/20170219/fd02dd19/attachment.html>
More information about the liberationtech
mailing list