Better Twitter Embeds 2: Stripping the Convo for the Sake of the Convo

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.

It works.

Later I’ll get to

  1. some additional custom styling,
  2. adding support for the “status” format to my theme so I can use it instead of “link,”
  3. getting rid of redundant javascript calls, and
  4. 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.


WordPresser
Home Page  Public Email  Twitter  Facebook  YouTube  Github   

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. 

Posts in this series

0 comments on “Better Twitter Embeds 2: Stripping the Convo for the Sake of the Convo

Commenting at CK MacLeod's

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"
Commenter Ignore Button by CK's Plug-Ins

Leave a Reply

Your email address will not be published. Required fields are marked *

*

WordPress Plug-In Notes

  1. Realizing the Commentariat (May 8, 2015)
  2. Child of Mog; Extraordinary Comments (May 25, 2015)
  3. Patronize 'Em: WordPress Draft Post Docket with Subscription and Donation Options (June 9, 2015)
  4. Realizing The Commentariat: Phase 2 (June 22, 2015)
  5. Pseudo-Redacting Spoilerer (July 25, 2015)
  6. Spoiling you some more (August 5, 2015)
  7. Testing Ajaxified Comments - Experiment Halted (August 11, 2015)
  8. New New Since Last Visit Comments Comments (August 16, 2015)
  9. WordPress Comment Nesting Unbound (August 22, 2015)
  10. The Snake Is Implemented (August 25, 2015)
  11. Comments Since Last Visit Reloaded, Reloaded, Testing Post (August 31, 2015)
  12. Comments Since Last Visit, Reloaded, Augmented, Installed, In Two Steps (September 13, 2015)
  13. Coming Soon (I Think!): Author Bios (September 25, 2015)
  14. How to Do Backlinking Footnotes (November 30, 2015)
  15. Who or What Is Using "Commenter Archive" and "commenter-thread"? (February 16, 2016)
  16. Enabling WordPress Press This for HostGator Sites (March 9, 2016)
  17. Linkback Your Xpost: A Simple WordPress Filter Function (March 14, 2016)
  18. Add Amazon Affiliate Tags to WordPress Posts <i>and</i> Comments Automatically (March 19, 2016)
  19. Finding Lost WordPress Widgets after Core Upgrade (March 21, 2016)
  20. Plug-In Away... and the Iron Law of Irony (April 16, 2016)
  21. To o-b or not to o-b (output-buffering in WordPress) - UPDATED (April 24, 2016)
  22. Output-Buffering and Extensible WordPress Plug-Ins (May 21, 2016)
  23. Getting Right with Image Rights: WP Replace Unlicensed and Broken Images Plug-In (June 17, 2016)
  24. Getting Right with Image Rights: Workflow and Major Minor Upgrade (June 27, 2016)
  25. Getting to Better WordPress Twitter oEmbed (June 28, 2016)
  26. An Alliance of Digital Artists (Art and Work in the Age of Instant Reproducibility) (July 8, 2016)
  27. Comparative Page Loads with and without Image Errors (July 14, 2016)
  28. jQuery-Filling an Input Box in WordPress Admin (July 15, 2016)
  29. Drilling a Hole in the Universe with WP_Query in a Shortcode (September 1, 2016)
  30. Troll-Stomping and Other Sensible Things: #WordPress Plug-In Beta Test/Preview (November 12, 2016)
  31. Commenter Ignore Button Preview Video (November 30, 2016)
  32. Is This Solution for Caches vs Cookies Going to Get Me in Trouble? (November 30, 2016)
  33. Commenter Ignore Button 0.99 (December 21, 2016)
  34. Adding wp.media Multiple Image Selection to WordPress Plug-Ins (January 5, 2017)
  35. Working around an Unexplained Failure of WordPress {$taxonomy} Hooks (January 10, 2017)In Progress: Subscribe!
  36. Better Twitter Embeds 2: Stripping the Convo for the Sake of the Convo (February 19, 2017)

State of the Discussion

CK MacLeod
Ignored
Comments this threadCommenter Archive
+ (Well, I didn't, four years ago, call Daniel Larison a vulgar ideologue. I suggested that his polemic on that occasion stooped to that level, in [. . .]
note on anti-Americanist conservatism in re Obama in Israel
CK MacLeod
Ignored
Comments this threadCommenter Archive
+ Thanks, Mr. McK. I don't see the Rs in any better a position, nor the independents for that matter. All the People's Political Scientists and [. . .]
Jennifer Rubin: Pro-Trump Republicans will get nothing, not even retention of a House majority – The Washington Post
Wade McKenzie
Ignored
Comments this threadCommenter Archive
+ It's a common tactic in scholasticism (vide Edward Feser) to take a term of religio-philosophical significance (such as "creation" or "eternity") that has a commonly [. . .]
note on anti-Americanist conservatism in re Obama in Israel

From the Featured Archives

Categories

Related