#editorial | Logs for 2015-05-27
« return
[00:15:30] <takyon> not only is it easy to copy the URL, select writes, hit the URL button, paste, and hit enter using my extension, I could probably automate it as well
[00:15:45] <takyon> let me check it out
[00:18:14] <takyon> the view submission link has no ID, which is annoying, but luckily, there is a hidden field:
[00:18:16] <takyon> <input type="hidden" name="subid" value="7517">
[00:18:38] <takyon> with the value, I easily construct the submission link http://soylentnews.org
[00:18:38] <Scruffy> ^ 03SN Submission by gewg_: UK.gov Still Running XP--but Barefooted Now
[00:19:14] <takyon> use my regular expression to search for <p class="byline">"gewg_" writes:</p>
[00:20:37] <takyon> to make sure no mistake is made, I'll make it search for the byline specifically and use something like this:
[00:21:19] <takyon> replace(/<p class=\\"byline\\">.*?\s(writes)/g,"<a href='url'>$1</a>");
[00:21:28] <takyon> automation complete
[00:23:01] <takyon> that same subid field appears on both the submission preview and story preview, so I can do it instantly once you first view a submission
[00:23:20] <takyon> furthermore I can put a toggle in the code that lets you turn off the feature by changing it to false
[00:35:35] <takyon> it gives me an excuse to release v7
[01:11:10] <takyon> http://soylentnews.org
[07:47:50] -!- FatPhil [FatPhil!phil@azdr.ee] has joined #editorial
[07:48:22] <FatPhil> Japanese link in bearings story can be replaced with this English one: http://1st.geocities.jp
[07:48:24] <Scruffy> ^ 03Coo Space CO.,LTD.
[07:48:30] -!- FatPhil [FatPhil!phil@azdr.ee] has parted #editorial
[12:00:00] <CoolHand> I replaced that link..
[13:26:22] -!- janrinok [janrinok!~janrinok@Soylent/Staff/Editor/janrinok] has joined #editorial
[13:26:22] -!- mode/#editorial [+v janrinok] by SkyNet
[13:26:35] <janrinok> hi guys
[14:03:57] <CoolHand> hey janrinok
[14:24:32] <janrinok> hi CoolHand
[14:24:44] <janrinok> sorry - busy at the moment
[14:24:57] janrinok is now known as janrinok|afk
[14:54:31] <CoolHand> me 2
[15:00:51] janrinok|afk is now known as janrinok
[15:42:55] janrinok is now known as janrinok|afk
[17:51:11] janrinok|afk is now known as janrinok
[18:26:30] <janrinok> it is very quiet today.....
[18:38:51] <janrinok> even the cricket is lonely...
[19:00:23] <janrinok> chirrup
[19:00:29] -!- janrinok has quit [Quit: leaving]
[21:39:02] <CoolHand> janrinok, if you come back and see this. I 2nd edited your steam/linux story and changed headline from "plummet" to "decline". I don't really see the percentage as plummeting (especially with margin of error and unknown methodology of administering the surveys from Valve). I think Plummet is clickbait...