new-xkit / XKit

Fork of XKit, the extension framework for Tumblr
https://new-xkit-extension.tumblr.com
Other
459 stars 135 forks source link

vague editable reblogs stuff #767

Closed nightpool closed 7 years ago

nightpool commented 8 years ago

try to reblog http://regexkind.tumblr.com/post/133208845174/sorcyress-iluvatardis from the blog page.

see that the first post isn't in the generated blockquote tree. (although the last 4 are)

observe that this doesn't happen with xkit disabled.

bvtsang commented 8 years ago

For reference, this is the request without Editable Reblogs:

{
  "channel_id": "xumbar",
  "post[date]": "",
  "post[publish_on]": "",
  "post[slug]": "",
  "post[tags]": "",
  "post[two]": "",
  "post[three]": "http://jamesfrancos.tumblr.com/post/43185083060",
  "editor_type": "rich",
  "send_to_twitter": true,
  "custom_tweet": false,
  "send_to_fbog": true,
  "loggingData": {},
  "allow_photo_replies": false,
  "content_stats": {
    "elapsed": 1,
    "htmlLength": 0,
    "textLength": 0,
    "textTools": {
      "hr": 0,
      "h2": 0,
      "more": 0,
      "mentions": 0
    },
    "embeds": {},
    "images": {},
    "mentions": {},
    "gifs": {
      "searches": 0,
      "added": 0,
      "kept": 0
    },
    "gifSearch": {}
  },
  "post[source_url]": "http://jamesfrancos.tumblr.com/post/43185083060",
  "post[state]": "0",
  "post[type]": "photo",
  "reblog": true,
  "reblog_key": "BNV4N7XQ",
  "reblog_post_id": 133473237609,
  "pt": "fKFSLeV2ZWYN1mIsPYLjc/RrFAdz1TU8aLY2DHjQqfJn8sW0RpJXq+IbzTeOTFuMSdeK/UgunpcZunLqQZOS+dlfrOic3z41OyTxcOqr5LmA41cyci/oIemECyMfxybivadj4xUG8UJGy201q99uhZvwE0FFXJC1BLqJcYi9+vbB2h++xb2T6NnAUnb3e1/7xsFwnKMAvmkavH5rNaPfNn6r9WSx9KWqygrFEfXViB04Ag1k783eOcgpf4uSLDlQBQQ9fYSbrprJF931bWzeXnaDCL+gszqEo2XGg+iXzjM=",
  "reblog_source": "POST_CONTEXT_UNKOWN",
  "context_id": "xumbar",
  "context_page": "xumbar",
  "is_rich_text[one]": "0",
  "is_rich_text[two]": "1",
  "is_rich_text[three]": "0",
  "images[o1]": "",
  "caption[o1]": "",
  "images[o2]": "",
  "caption[o2]": "",
  "post[photoset_layout]": "2",
  "post[photoset_order]": "o1,o2"
}

And this is the request with Editable Reblogs:

{
  "form_key": "SHd8ZbNYkEZPsd4reZy88XfDck",
  "channel_id": "xumbar",
  "detached": true,
  "reblog": true,
  "reblog_id": 133473237609,
  "reblog_key": "BNV4N7XQ",
  "errors": false,
  "silent": false,
  "context_id": "",
  "reblog_post_id": "133473237609",
  "remove_reblog_tree": true,
  "is_rich_text[one]": "0",
  "is_rich_text[two]": "1",
  "is_rich_text[three]": "0",
  "post[slug]": "",
  "post[draft_status]": "",
  "post[date]": "",
  "post[tags]": "",
  "post[two]": "<p><a class='tumblr_blog' href=\"http://sorcyress.tumblr.com/post/128287756067\">sorcyress</a>:</p><blockquote><p><a class='tumblr_blog' href=\"http://iluvatardis.tumblr.com/post/95413282540\">iluvatardis</a>:</p><blockquote><p><a class='tumblr_blog' href=\"http://polyamorousmisanthrope.tumblr.com/post/95411998987\">polyamorousmisanthrope</a>:</p><blockquote><p><a class='tumblr_blog' href=\"http://valkyriestrikeofthelashatterdome.tumblr.com/post/84004827284\">valkyriestrikeofthelashatterdome</a>:</p><blockquote><p><a class='tumblr_blog' href=\"http://gotterdammerungs.tumblr.com\">gotterdammerungs</a>:</p><blockquote><p><a href=\"http://tumblr.com/tagged/pirates-of-the-caribbean-was-kind-of-a-formative-influence\" class='tumblr_blog'>#pirates of the caribbean was kind of a formative influence</a>&nbsp;<a href=\"http://tumblr.com/tagged/so-here%27s-the-thing\" class='tumblr_blog'>#so here’s the thing</a>&nbsp;<a href=\"http://tumblr.com/tagged/after-years-of-chasing-curses-and-hearts-and-fountains%3B-losing-the-pearl-and-winning-her-back-and-losing-her-again\" class='tumblr_blog'>#after years of chasing curses and hearts and fountains; losing the pearl and winning her back and losing her again</a>&nbsp;<a href=\"http://tumblr.com/tagged/after-rum-enough-to-drown-his-sins-and-sorrows-both\" class='tumblr_blog'>#after rum enough to drown his sins and sorrows both</a><a href=\"http://tumblr.com/tagged/captain-jack-sparrow-wakes-up-one-morning-and-he%27s-immortal\" class='tumblr_blog'>#captain jack sparrow wakes up one morning and he’s immortal</a>&nbsp;<a href=\"http://tumblr.com/tagged/just-like-that\" class='tumblr_blog'>#just like that</a>&nbsp;<a href=\"http://tumblr.com/tagged/no-deals-with-calypso-%28he-hasn%27t-been-able-to-find-her-since-the-brethren-court-broke-her-chains%29-no-desperate-double-dealing\" class='tumblr_blog'>#no deals with calypso (he hasn’t been able to find her since the brethren court broke her chains) no desperate double-dealing</a>&nbsp;<a href=\"http://tumblr.com/tagged/one-morning-he-just...stops\" class='tumblr_blog'>#one morning he just…stops</a>&nbsp;<a href=\"http://tumblr.com/tagged/stops-aging-stops-dying\" class='tumblr_blog'>#stops aging stops dying</a>&nbsp;<a href=\"http://tumblr.com/tagged/he-gets-the-seas-forever--except\" class='tumblr_blog'>#he gets the seas forever—except</a>&nbsp;<a href=\"http://tumblr.com/tagged/except\" class='tumblr_blog'>#except</a>&nbsp;<a href=\"http://tumblr.com/tagged/the-edges-of-the-map-are-closing-in\" class='tumblr_blog'>#the edges of the map are closing in</a>&nbsp;<a href=\"http://tumblr.com/tagged/the-lure-of-undiscovered-treasures-is-waning-and-merchant-ships-are-becoming-better-defended\" class='tumblr_blog'>#the lure of undiscovered treasures is waning and merchant ships are becoming better defended</a>&nbsp;<a href=\"http://tumblr.com/tagged/the-day-that-the-East-India-Company-takes-Shipwreck-Island%3B-Jack-feels-a-great-chapter-in-the-world%27s-history-close\" class='tumblr_blog'>#the day that the East India Company takes Shipwreck Island; Jack feels a great chapter in the world’s history close</a>&nbsp;<a href=\"http://tumblr.com/tagged/%28he-flees-to-the-Barbary-coast-with-the-rest-of-his-ilk%3B-but-the-romance-has-gone-out-of-it--the-is-too-much-desperation\" class='tumblr_blog'>#(he flees to the Barbary coast with the rest of his ilk; but the romance has gone out of it—there is too much desperation</a>&nbsp;<a href=\"http://tumblr.com/tagged/too-much-hunger-too-much-blood-to-it-nowadays\" class='tumblr_blog'>#too much hunger too much blood to it nowadays</a>&nbsp;<a href=\"http://tumblr.com/tagged/the-age-of-the-swashbuckler-won%27t-live-out-the-decade%29\" class='tumblr_blog'>#the age of the swashbuckler won’t live out the decade)</a>&nbsp;<a href=\"http://tumblr.com/tagged/I-imagine-this-thing-he%27s-chased-all-his-life-would-crumble-through-his-hands-as-he-bounced-from-ship-to-ship\" class='tumblr_blog'>#I imagine this thing he’s chased all his life would crumble through his hands as he bounced from ship to ship</a>&nbsp;<a href=\"http://tumblr.com/tagged/he-never-gets-used-to-the-square-rigging-on-the-clippers%3B-though-they-lead-to-some-good-work-running-tea-from-china\" class='tumblr_blog'>#he never gets used to the square rigging on the clippers; though they lead to some good work running tea from china</a>&nbsp;<a href=\"http://tumblr.com/tagged/but-the-first-time-he-sees-a-steamship-he-nearly-walks-off-the-dock-out-of-shock\" class='tumblr_blog'>#but the first time he sees a steamship he nearly walks off the dock out of shock</a>&nbsp;<a href=\"http://tumblr.com/tagged/of-all-the-ways-sailing-would-have-changed%3B-who-thought-you%27d-get-rid-of-the-%2Fsails%2F\" class='tumblr_blog'>#of all the ways sailing would have changed; who thought you’d get rid of the /sails/</a>&nbsp;<a href=\"http://tumblr.com/tagged/%28he-swears-he%27s-never-getting-on-one-of-those-monstrosities%3B-let-alone-sailing-on-one%29\" class='tumblr_blog'>#(he swears he’s never getting on one of those monstrosities; let alone sailing on one)</a>&nbsp;<a href=\"http://tumblr.com/tagged/%28he-manages-to-hold-out-until-1893-when-the-longing-for-the-sea-overwhelms-him-and-he-decides-that-even\" class='tumblr_blog'>#(he manages to hold out until 1893 when the longing for the sea overwhelms him and he decides that even</a>&nbsp;<a href=\"http://tumblr.com/tagged/that-ghastly-smog-and-the-humming-of-the-engines-can-be-endured%29\" class='tumblr_blog'>#that ghastly smog and the humming of the engines can be endured)</a>&nbsp;<a href=\"http://tumblr.com/tagged/sometimes-he%27ll-see-calypso-out-of-the-corner-of-his-eye--leaning-on-the-deck-railing%3B-darting-alongside-the-ship-with-the-dolphins\" class='tumblr_blog'>#sometimes he’ll see calypso out of the corner of his eye—leaning on the deck railing; darting alongside the ship with the dolphins</a>&nbsp;<a href=\"http://tumblr.com/tagged/%28someone-in-the-early-20th-century-tells-him-they%27re-not-fish-and-he-nearly-busts-a-gut-laughing%29\" class='tumblr_blog'>#(someone in the early 20th century tells him they’re not fish and he nearly busts a gut laughing)</a>&nbsp;<a href=\"http://tumblr.com/tagged/he-wears-a-hundred-names-and-a-hundred-looks%3B-cuts-his-hair-short-or-grows-it-long\" class='tumblr_blog'>#he wears a hundred names and a hundred looks; cuts his hair short or grows it long</a>&nbsp;<a href=\"http://tumblr.com/tagged/calls-himself-american%3B-spanish%3B-english-%28british%29%3B-caribbean\" class='tumblr_blog'>#calls himself american; spanish; english (british); caribbean</a>&nbsp;<a href=\"http://tumblr.com/tagged/he-has-two-dozen-different-copies-of-Stevenson%27s-Treasure-Island--it-reminds-him-of-something-gone-and-half-forgotten\" class='tumblr_blog'>#he has two dozen different copies of Stevenson’s Treasure Island—it reminds him of something gone and half-forgotten</a>&nbsp;<a href=\"http://tumblr.com/tagged/and-in-1920-when-Seitz-comes-out-with-Pirate-Gold%3B-Captain-Jack-Sparrow-is-in-the-first-row\" class='tumblr_blog'>#and in 1920 when Seitz comes out with Pirate Gold; Captain Jack Sparrow is in the first row</a>&nbsp;(<a href=\"http://notbecauseofvictories.tumblr.com\" class='tumblr_blog'>x</a>)</p></blockquote><p>And then in the future, everything changes. He’s been through it all, of course-watched humanity rediscover the heavens above them, watched them begin to wonder what’s out there. He cheered with the rest of the world when they landed on the moon, cheered as if he’d found Isla de la Muerta all over again, because there was something new. New treasure, a new horizon. But then they stop going, stop exploring, and he goes back to riding tankers across the rising seas. So he’s surprised when one day he wakes up from a night with his bottle of rum (his truest companion), and hears that there’s colonies on Mars now, and they need ships to supply them. He spends the next decade crafting new identities, learning all he can to qualify for the job, and after several tries (and even more faked deaths-this immortality thing isn’t all it’s cracked up to be in the age of the inerasable digital self) he gets it. The ships go nearly constantly now, the needs of the terraforming project creating an unbroken line of vessels from Mars to Earth and back again. “Show me that horizon,” he whispers to himself, his personal prayer of thanksgiving, each time they leave orbit, because the worlds, the stars are in motion and it’s never the same, with nearly three years for a round trip the ports are always different, even if they keep the old names. And finally one trip something goes wrong with the reactor, they’re too low on power and have to deploy the backups, and Jack (Lucky Jack, they call him, for he survives too many things he shouldn’t but science has yet to accept that maybe some things weren’t old wives’ tales after all) goes out for the spacewalk to bring up the solar panels. And as they rise, geometric patterns black against the sun’s glare, he’s struck by a powerful sense of&nbsp;déjà vu, because it’s all here-wind and sails, a ship beneath his feet and stars above his head, horizon in all directions. He wonders, for a moment, if the reason he’s still here is because the universe wanted a witness, to mourn the end of one age of exploration, and rejoice in the birth of the next.</p></blockquote><p>Thank you for writing this. It made me cry, but oh I am so relieved to see the yearning for the stars.</p></blockquote><p>That shouldn’t have given me as many feels as it did…&nbsp;</p></blockquote><p>Have I reblogged this yet? Don’t care, enjoy space pirate Captain Jack Sparrow!</p></blockquote>",
  "send_to_twitter": "on",
  "send_to_fbog": "on",
  "custom_tweet": false,
  "post[type]": "photo",
  "post[state]": "0"
}
nightpool commented 7 years ago

old enough that ER this was probably fixed in the second-last ER update.