#editorial | Logs for 2016-01-28
« return
[01:40:36] -!- nick has quit [Ping timeout: 268 seconds]
[02:43:55] Bytram|away is now known as Bytram
[02:49:55] <Bytram> destination please: http://feedproxy.google.com
[02:49:57] <SaltyChocolateBalls> ^ 03Watch a guy let deadly snakes bite him to prove a point - CNET ( http://www.cnet.com )
[02:50:01] <Bytram> merci!
[03:36:23] -!- nick [nick!~nick@Soylent/Staff/Editor/n1] has joined #editorial
[03:36:23] -!- mode/#editorial [+v nick] by SkyNet
[03:45:10] -!- nick has quit [Ping timeout: 268 seconds]
[04:09:40] <Bytram> whereto? https://www.washingtonpost.com
[04:09:41] <SaltyChocolateBalls> ^ 03Scientists open the ?black box? of schizophrenia with dramatic genetic discovery - The Washington Post
[04:09:51] <Bytram> https://www.washingtonpost.com
[04:09:52] <SaltyChocolateBalls> ^ 03Scientists open the ?black box? of schizophrenia with dramatic genetic discovery - The Washington Post
[05:07:15] Bytram is now known as Bytram|away
[07:40:38] -!- nick [nick!~nick@Soylent/Staff/Editor/n1] has joined #editorial
[07:40:38] -!- mode/#editorial [+v nick] by SkyNet
[07:44:52] -!- crutchy [crutchy!~crutchy@709-27-2-01.cust.aussiebb.net] has joined #editorial
[08:20:34] SaltyChocolateBalls is now known as shekel
[10:38:12] -!- crutchy has quit [Quit: Leaving]
[13:06:31] Bytram|away is now known as Bytram
[13:28:30] <Bytram> whereto? http://feedproxy.google.com
[13:28:31] <shekel> ^ 03It's Data Privacy Day. Do you know where your data is? - CNET ( http://www.cnet.com )
[13:28:34] <Bytram> thanks!
[14:12:12] Bytram is now known as Bytram|away
[15:48:15] <Bytram|away> whereto? http://www.bbc.co.uk
[15:48:16] <shekel> ^ 03Java browser plug-in to be retired, says Oracle - BBC News ( http://www.bbc.co.uk )
[15:48:24] <Bytram|away> thanks!
[16:24:41] <Bytram|away> while there's still time before we roll out updates to the site, I'm going to start to address something that has been irking me for the longest time... capitalization and ellipses on form buttons...
[16:26:42] <Bytram|away> starting with the story submission preview page (~/rehash/plugins/Submit/templates/previewForm;submit;default) changed button text from "preview" to be "Preview..." in two places
[16:26:47] Bytram|away is now known as Bytram
[16:27:12] <Bytram> I'm staging the changes on dev.soylentnews.org; verifying changes operate as expected, and then changed the templates accordingly.
[16:28:35] <Bytram> oh, you gotta be kidding me.
[16:28:45] <Bytram> well, it kinda makes sense, but... geesh!
[16:29:11] <Bytram> the button text is sent as the value, and since 'Preview...' != 'preview' the expected processing is not done.
[16:34:03] <TheMightyBuzzard> you breaking stuff, Bytram?
[16:34:07] <Bytram> yup!
[16:34:14] <Bytram> gotta stay in character, yanno?
[16:34:27] <TheMightyBuzzard> good good
[16:34:53] <Bytram> found myself in a bit of a hole.
[16:35:42] <Bytram> am trying to figure out how to change the text on a button separate from the value that is sent when a form is submitted.
[16:35:49] <TheMightyBuzzard> can't
[16:35:53] <Bytram> *separately
[16:36:21] <Bytram> see line 62 in: ~/rehash/plugins/Submit/templates/previewForm;submit;default
[16:36:43] <TheMightyBuzzard> </p>?
[16:36:55] <Bytram> nope.
[16:37:05] <Bytram> oops line 162
[16:37:08] <TheMightyBuzzard> heh
[16:37:19] <Bytram> if it's not '1' thing, it's another
[16:37:37] <TheMightyBuzzard> you can't change the value vs the displayed text on submit buttons.
[16:37:39] <Bytram> also line 158
[16:38:06] <Bytram> ugh.
[16:38:22] <Bytram> so much for keeping the UI and the backend processing cleanly isolated
[16:38:36] <TheMightyBuzzard> that's just how html is.
[16:38:45] * Bytram thought for sure that there was a 'label' attribute that one could set
[16:40:20] <TheMightyBuzzard> you'd need to change the op in perl as well and make damned sure every accessing of that op is likewise changed
[16:40:44] <Bytram> yeah, I realized *that* immediately.
[16:41:07] <Bytram> instead of GOTOs, there should be COMEFROMs
[16:41:17] <TheMightyBuzzard> heh
[16:41:33] * Bytram checks his HTML docs
[16:41:40] <Bytram> HTML 4.0:
[16:41:41] <Bytram> The submit input type defines a button for submitting the form. As with reset, the optional VALUE attribute provides the text of the button. The presence of the NAME attribute will cause the browser to send a name/value pair for the submit button if it is used to submit the form. This allows authors to provide multiple submit buttons and have the form handler take a different action depending on the submit button used.
[16:42:08] <Bytram> darn.
[16:42:29] <TheMightyBuzzard> yar
[16:43:25] <Bytram> <input type=button ... ???
[16:43:28] * Bytram reads
[16:44:21] <TheMightyBuzzard> we can change it in the code, i just don't wanna do it this close to go-live
[16:45:09] <Bytram> yar, is just something that has been driving me nuts since I *first* saw it, and I'm finally at a point in understanding the code where I could get that fixed. :(
[16:45:15] -!- nick has quit [Ping timeout: 268 seconds]
[16:45:17] <Bytram> or so I thought.
[16:46:37] <Bytram> TheMightyBuzzard: take a look at #rss-bot ... looks like NISTIT has gotten itself in a mode where it sends out it's entire RSS feed again and again
[16:47:19] <TheMightyBuzzard> mildly interesting
[16:47:40] <TheMightyBuzzard> not worth waiting around for it to fire again though
[16:47:50] <Bytram> I follow the channel to get ideas for stories and to flesh out submissions that might need additioanl support...
[16:48:28] <TheMightyBuzzard> then msg their admin and tell them their shat is broke
[16:48:34] <TheMightyBuzzard> rather email
[16:50:11] <Bytram> problem is, I'm not *sure* where the problem is; could be that bender is confused and redumping its cache of what NISTIT has sent out
[16:50:12] <TheMightyBuzzard> it's admin.pl not submit.pl that would need changed by the way
[16:50:25] <TheMightyBuzzard> doubt it
[16:50:42] <Bytram> oh? oh. thanks
[16:51:25] <Bytram> yeah, I *doubt* it, too. but I don't know enough about RSS to be able to isolate it in any fashion other than to say it *looks* like it is spewing... and even then I have no idea whom to e-mail....
[16:51:37] <Bytram> I suspect if we are seeing it, then there are a bunch of other folks who are, too
[16:51:45] <Bytram> and I hope that one of them gets their attention.
[16:51:55] <Bytram> gtg, biab afk
[16:56:29] <Bytram> okay, back
[17:30:24] <Bytram> okay, pending further investigation, I reverted the change that I had made on dev.soylentnews.org where 'preview' had become 'Preview...'; it's back to 'preview' again.
[17:39:54] <Bytram> TheMightyBuzzard: upon further investigation, this is what I was thinking of:
[17:39:55] <Bytram> <html><head></head><body><button type="submit" name="op" value="preview">Preview...</button></body></html>
[18:23:35] <Bytram> whereto: http://www.nist.gov
[18:23:36] <shekel> ^ 03NIST Helps Accelerate the Federal Government's Move to the Cloud
[18:41:09] -!- nick [nick!~nick@Soylent/Staff/Editor/n1] has joined #editorial
[18:41:09] -!- mode/#editorial [+v nick] by SkyNet
[20:46:16] <Bytram> whereto: http://feeds.nature.com