A few months ago, I noted a technique for stripping Twitter embeds of extraneous conversation, involving setting the tweet attribute “data-conversation” to “none.” What I provided was more hack than add-on, and required a somewhat laborious process of copying the page source and search and replacing it.
So, this morning, frustrated by yet another Twitter convo that couldn’t be carried forward effectively on Twitter, and that anyway deserved to be preserved for the eternal archives, I decided to automate the process.
All-Nude Tweets
PHP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
* Let's render a series of tweets without extraneous/redundant conversation
* Add to functions.php - substitute desired post-format for 'link' below
adding support for the “status” format to my theme so I can use it instead of “link,”
getting rid of redundant javascript calls, and
some other bells and whistles
…on the way to a plug-in or distributable custom function, but I think it’s already pretty neat and usable as is, if I do say so myself, and I do, on the way further to another objective recently discussed on Twitter, and a good candidate for another post of this general type: On the “Tweet Storm” as rickety bridge between old-fashioned blogging and unsatisfying social media.
Writing since ancient times, blogging, e-commercing, and site installing-designing-maintaining since 2001; WordPress theme and plugin configuring and developing since 2004 or so; a lifelong freelancer, not associated nor to be associated with any company, publication, party, university, church, or other institution.
We are determined to encourage thoughtful discussion, so please be respectful to others. We also provide a set of Commenting Options - comment/commenter highlighting and ignoring, and commenter archives that you can access by clicking the commenter options button (). Go to our Commenting Guidelines page for more details, including how to report offensive and spam commenting.
1 Pings/Trackbacks for "Better Twitter Embeds 2: Stripping the Convo for the Sake of the Convo"
Getting to Better WordPress Twitter oEmbed June 28, 2016 1) The content of deleted tweets, if ever previously fetched and rendered, should remain "there" in an affected post's post meta, and 2) it should be quite possible to emulate the rendering process programmatically, whether for the sake of presenting deleted tweets in a way that marks them as such and also harmonizes aesthetically with…
Getting Right with Image Rights: Workflow and Major Minor Upgrade June 27, 2016 I discovered many non-rights-cleared images that I now think may have detracted from the posts in some ways, even if they initially seemed to make them more attractive or striking.
Yearning for President Blog - OAG #9 March 2, 2017 The Tweet-storm, in the new era of President Tweet, remains a nostalgia-inducing afterimage of the blog and of the era of President Blog, but it may also portend a return or attempted return to coherent, accountable, and consequential civic discussion in a mass society, back from the Great Flood of clicks.
Getting Right with Image Rights: WP Replace Unlicensed and Broken Images Plug-In June 17, 2016 A primary use for WP-RUBI will be at sites where administrators have decided to remove images that have been used either without permission or under lapsed or lapsing usage licenses: Proper employment will help to reduce or eliminate legal and actual "exposure" quickly and easily, without harming the site's search engine rankings and while preserving…
Customizing the Intercom Launcher for WordPress March 25, 2018 Intercom is a relatively recently created cross-platform messaging tool, in use at around 25,000 sites, whose "Inbox" app or sub-app can work as a slick customer support/interaction alternative to older systems like ZenDesk. It will work out of the virtual box in WordPress, and some aspects of its appearance and other features can be managed…
jQuery-Filling an Input Box in WordPress Admin July 15, 2016 ...on how I think a textbox should be filled in WordPress Admin... from simple anchor links... and when the content - in this instance long image links - is too long to be nicely contained... plus some little tricks and things I never noticed or noticed I'd noticed before...
Heckling Baby Hitler (Notes on a Twitter Discussion) April 18, 2016 Would-be proponents of a liberal society would cease being liberals at all at the moment they ceased their opposition to "shutting down" discussion, and to the precise extent they did so.
Si Vis Bellum, Part 1: "Militarism" and "Interventionism" December 8, 2016 The un-clarity or confusion, or confusion of confusions, regarding the meaning of these two terms is typical of this historical moment, which in one sense can be thought to have simply befallen us, having never been willed into existence by anyone, but in another sense can be viewed as the predictable and desired product of…
Si Vis Bellum, Part 2: Catastrophes December 13, 2016 America aims to be as much and as little interventionist and militarist as required in order to avoid ever becoming as catastrophically interventionist and militarist as she, in competition or cooperation with potentially many others, could be.
Drilling a Hole in the Universe with WP_Query in a Shortcode September 1, 2016 Placing a post whose content would include a version of the post itself (containing a version of the post itself, and so on) produces a site-crashing "reset overload" (ERR_CONNECTION_RESET). It's easy to create the danger inadvertently, but also easy to prevent.
Output-Buffering and Extensible WordPress Plug-Ins May 21, 2016 Contrary to my tentative conclusions of a month ago, I now understand at least one good reason to use output-buffering while writing WordPress code. Indeed, I now anticipate using the tool frequently.
To o-b or not to o-b (output-buffering in WordPress) - UPDATED April 24, 2016 My general impression is that, unless I have a very good reason for using it - probably involving the kind of script in which I'm not generally interested at this time - I should avoid it.
Ignoring in "Illdy": A CIB Adaptation to a "Bootstrapped" Theme (Case Study) January 23, 2017 If you're not able to perfect your theme yourself, or not willing to hire a designer, then being a perfectionist is unrealistic. Yet just getting good enough on first glance results when adding CIB to customized comment templates, even before fine-tuning, may require some more complicated work. For those intimidated by the prospect, here is…
On My Grand Strategy on Grand Strategy (Interim Book Report or Tour of a Tour of Tours of Tours) May 7, 2016 I am seeking a grand strategic overview of the grand strategic field such as it is, in clear but not simplistic statements susceptible to critical consideration and re-consideration - not total occupation of the literature and victory in detail down to every last sty and hollow. All the same, if I am reluctant to add…
Postscript to future historians from Xmas 2016 (OAG #8) December 25, 2016 We would be compelled to conclude that something must have been (and very likely remains) profoundly wrong with a political culture or political media - of which Matthew Yglesias and Vox are, of course, typical parts - that could be dominated by an issue to be judged intrinsically trivial, and dominated to the point of…
An Alliance of Digital Artists (Art and Work in the Age of Instant Reproducibility) July 8, 2016 If the Digital Artists Alliance never amounts to more than a temporary reference point, the basis for a gesture of respect by some site operators toward an ideal, then that will be enough for me, but I invite anyone interested in exploring larger possibilities to join me.
Thesis on the Great Trumpian Victory (OAG #6) December 11, 2016 ... that the great victory of the Trumpists would be in the destruction of faith in the American system, now approaching the consensus position.
Conservative Neo-Imperialism vs Jacksonian Neo-Isolationism May 10, 2016 As for Trumpism vs. Bushism, one will be no less dependent on "populist nationalism" than the other, to whatever extent it is also successful: In a mass electoralist national system under popular sovereignty, the winner will always be the truest national populist, by definition, if not necessarily the purest national populist according to some external…
No One Can Say: Absurdifaction (OAG #4) November 29, 2016 ...the dis-assembling assembly of disconnected yet interrelated not quite anythings, not quite somewhere, with which one might or might not perform something approaching or in some ways vastly exceeding, yet not possibly entailing, disagreement.
Comparative Page Loads with and without Image Errors July 14, 2016 This benefit of WP-RUBI is additional to the one of avoiding "the $8,000 mistake" of using unlicensed images, but for some sites will be much more important.
Si Vis Bellum, Part 3: Always Again December 20, 2016 If members of the present younger generation in particular seem unable to articulate or comprehend the basis of a still operative policy consensus, they can hardly be faulted if their elders, even those running for the highest office in the land, can no longer do so either. We seem to be preparing and in effect…
Plug-In Away... and the Iron Law of Irony April 16, 2016 Seems fitting and probably should have been predictable - for a believer in the Iron Law of Irony - that an application meant to facilitate blogging, in this case by making aggregation of interesting material an easy "few clicks" operation, would annihilate my blogging. Anyway, is what happened.
Or Maybe "Demopathy" April 23, 2016 The testimony of the experts has actually already been given. They identified this problem as a matter of theory, and correctly suggested that it could be solved in practice, if never securely. That remainder or gap is the same one that appears in the "discursive" problem that Dan describes, and that we are currently observing…
On the matter of your moral inferiority... May 3, 2016 A self-serving moral judgment is always implicit in any political judgment, for the simple reason that a politics without morality would be the physics of randomly colliding human atoms, of no meaning to anyone, or not authentically political at all.
The Honorable 47 Rogues of the Palpatine Era May 6, 2017 Rogue One's fish-eyed admirals running the space battles were far more credible figures than the Fisher's sex dollish image clone - hallelujah!
Is This Solution for Caches vs Cookies Going to Get Me in Trouble? November 30, 2016 I added the line to my jQuery script, and, *voila!*, WPSC, W3 Total Cache, and Comet Cache are all acting like I want them to. After I use the script, and reload, I get fresh pages.
If the Trump Roast Is Done, Give the Crucians Some Credit March 31, 2016 Like all of the rest of us, including Trump and his voters, Cruz and his team may have underestimated how long it would take for the tectonic shift in the sub-structure of the race to occur. They likely hoped to depend on nominally "evangelical" voters to carry them through the first part of the primary,…
Operation American Greatness November 4, 2016 Ironic how Trump apologists, especially certain types of "American Conservative" paleo-cons, self-styled republican constitutionalists, and diverse fellow travelers all the way extending to everyday "Deplorables" drunkenly hurling foul epithets at campaign reporters, have adopted a main strategic rationale of the despised Neocons and Globalists.
Citizen Trump's Path of Least Resistance to a Classy Profitable Exit April 1, 2016 Should Trump, facing unfavorable and deteriorating political prospects, seek to humiliate himself leading a fractured Republican Party to an "epic" defeat in November? Should he prefer to "do all he could to destroy Cruz and the GOP" - turning himself into a hated loser and maker of losers? How would either alternative profit him -…
The Operation American Greatness Gallery (In Progress) February 3, 2017 The unveiling today of some rather extraordinary magazine covers seems occasion enough to justify presentation of the OAG Gallery as it happens to stand at the moment. Since, during the course of normal business at this site, the images appear only in thumbnail size, as randomly selected from a set of images, it occurred to…
Troll-Stomping and Other Sensible Things: #WordPress Plug-In Beta Test/Preview November 12, 2016 It occurred to me the other day or week that it wouldn't be hard to create a jQuery-enabled ignore button, and it wouldn't be too hard to add cookies to make the ignoring persistent, and it wouldn't be too hard to un-ignore, too. While I was at it, and feeling that enabling ignore was kind…
All the News that's Fit to Kill (OAG #8) February 22, 2017 The Post appears to be promising to narrate the death of democracy - or, if unconsciously, to be revealing an intention to embody it.
Comments on "Islam is the rock on which the liberal order broke?" December 7, 2016 History may instead record that what broke this latest "liberal order" (a typical contradiction in terms), as before and likely again, as inevitably, was the latest liberal order itself. Yet historians may alternatively - or also - someday record that it was liberalism that finally broke Islam or the Islamic Order, and, perhaps, in so…
Oops... January 21, 2017 Just a note for anyone who happened to note, or begin, the recently published (and unfinished) "Internal Contradictions of Liberal Democracy (Regime, 2 of 3)" post: I'd parked it in "Scheduled," certain I'd have gotten back to it and the rest of the series by Inauguration Day, but... best-laid plans and all. I hope to…
Housekeeping or Sorry about Tweeting Out that Rough Draft January 11, 2017 I'd been thinking about putting up a "sorry I'm busy post," anyway, especially since I haven't been keeping up with "the Russian Angle" "link-posts," but not having posted anything other than a web development note since the turn of the year seemed like explanation enough. However, last night I or the site accidentally auto-posted a…
No One Can Say: Context/Contest (OAG #3) November 28, 2016 We or more of us than we suspected, a muster that will in time include many for now wrapped up in shock, and grief, and fear, and rage, and despair, seeing at best only the glimmers of new or renewed possibility, have welcomed or will welcome, will someday come to love the fire for revealing…
...lost the habit April 6, 2020 ...I'd like to write a post carrying forward the speculative theodicy of Trumpism, now in relation to the pandemic, the latter as a perfect supplying of the absence, a unification of isolated atomized individuals as and within the whole and universal state, the deepest state, and the only available protector and sustainer of life, but…
The Scholar's Stage: You Do Not Have the People March 3, 2018 [T]he Korea issue is but an extreme expression of a tendency that blights the entire field. We are uncomfortable with democratic accountability, unwilling to subject ourselves to public debate, and uninterested in the constraints public opinion and popular politics place on the policies we craft. This complacency is not excusable. It is not sustainable. We…
Aleppo, D.C. (OAG #7) December 15, 2016 The Fall of Aleppo and the virtual Fall of Washington are linked not just by the lead sponsors or perpetrators of such unimaginable or until recently unimaginable crimes, but by a long and apparently far from finished history of bipartisan and cooperative failures and omissions that, removed from context, provide illimitable opportunity for internecine partisan…
Re: @dscotto10's GOPocalypse, Part 2: The Upstart - Ordinary Times October 18, 2016 Rubio's neoconservatism referenced bygone and imagined new eras of dominance, but Rubio's campaign and relative to Trump and Christie Rubio himself expressed, embodied, and seemed even to undergo, or perhaps to re-enact, its emasculation.
I alone have solved (the question of 2016) October 20, 2016 The more seriously we take Trump, the less seriously we find ourselves having to take Trump, and the less seriously we take Trump, the more seriously we have to take him.
Devoted and Selfless Consecration June 30, 2016 The sacred essence of the American state is not a common topic of discussion, but the state or nation or country itself, or we ourselves, on behalf of itself or on behalf of ourselves, deems or deem it the proper topic in relation to the final questions.
Comment at American Creation on Strauss and the Problem of Belief May 6, 2016 A remark about philosophers is not the same thing as a philosophical remark, and considering it philosophically is different from considering it in terms of, say, intellectual history.
Commenter Ignore Button 0.99 December 21, 2016 Now in "Late Beta" - and, for a limited time, I'll offer free styling, installation, and configuration to anyone who wants to try it out!
The appeal of this sort of historical what ifs, time travel fictions and whatever permutations I've left out includes (certainly not limited to) a [...]
I think there's plenty of blame to go around here. Gopnik seems stunningly ignorant of the Western theistic tradition, at least based on the quote [...]
0 comments on “Better Twitter Embeds 2: Stripping the Convo for the Sake of the Convo”
We are determined to encourage thoughtful discussion, so please be respectful to others. We also provide a set of Commenting Options - comment/commenter highlighting and ignoring, and commenter archives that you can access by clicking the commenter options button (
). Go to our Commenting Guidelines page for more details, including how to report offensive and spam commenting.
1 Pings/Trackbacks for "Better Twitter Embeds 2: Stripping the Convo for the Sake of the Convo"
[…] developed an approach for achieving the desired effect via function, but this post is still good […]