mediacloud / web-tools

The shared repository for Media Cloud web apps (Explorer, Source Manager, Topic Mapper)
https://tools.mediacloud.org
Apache License 2.0
64 stars 30 forks source link

support post_count in topics #1740

Closed hroberts closed 4 years ago

hroberts commented 4 years ago

For topics with a mode of 'url_sharing', we should replace the media inlink field with the post_count field everywhere in the interface. The media inlink field for these topics counts the number of coshares, which is a weird metric that doesn't mean much. The post_count is the field that replaces the simple_tweet_count field, but applies generically to our social media url sharing topics.

The main thing to replace is the media inlinks field in all of the media and stories table. Ideally we should just switch that out with post_counts, so the post_counts will be shared and also the list of stories / media will be sortable by clicking on the column header.

rahulbot commented 4 years ago

How do we tell if a topic is a regular one or a "url_sharing" one? is that the topic-level platform property (ie. twitter vs. web).

hroberts commented 4 years ago

that is the topic 'mode' property.

the platform will be whichever platform the urls are being shared on (twitter, reddit, fb, etc).

-hal

On Thu, Feb 27, 2020 at 10:36 AM rahulbot notifications@github.com wrote:

How do we tell if a topic is a regular one or a "url_sharing" one? is that the topic-level platform property (ie. twitter vs. web).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_mitmedialab_MediaCloud-2DWeb-2DTools_issues_1740-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAAN66TYMQZKEQUOL5VIJGMTRE7TY3A5CNFSM4K44YEO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENFAUTQ-23issuecomment-2D592054862&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=0c5FW2CrwCh84ocLICzUHjcwKK-QMUDy4RRw_n18mMo&m=WCa7ycAbsfG8dnRunQkG21zlJknrEgh9tanV7dP9REI&s=ADQy-e76U6PKN5ut-_ze4b3u3Mjnm3sxHLAGahpERls&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAN66T7HT4Z6MAGCSKPLW23RE7TY3ANCNFSM4K44YEOQ&d=DwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=0c5FW2CrwCh84ocLICzUHjcwKK-QMUDy4RRw_n18mMo&m=WCa7ycAbsfG8dnRunQkG21zlJknrEgh9tanV7dP9REI&s=Uu2kBdfkr26k2Un4qTdA7H4f3bXtINk4BugOzDe7PrU&e= .

rahulbot commented 4 years ago

I don't see a mode property on topics when I call something like mc.topic(3180)

rahulbot commented 4 years ago

Invalid, because we'll soon be adding in all the metrics, and don't have a topic mode idea anymore. https://github.com/berkmancenter/mediacloud/issues/688