Welcome, Guest. Please login or register.
March 28, 2024, 11:05:29 am

ballp.it is the community forum for The F Plus.

You're only seeing part of the forum conversation. To see more, register for an account. This will give you read-only access to nearly all the forums.

Topic: New thefpl.us should launch before the end of the year. [point to schlong]  (Read 22144 times)

Ashto

  • Paid
  • I don't even know anymore
    • 676
    • 43
I guess the point is that some of the things should be saved cause they were pretty funny. Plus, I'm still holding out for a meta anniversary episode where they read content off thepl.us/ballp.it

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 4,127
  • 421
While there may not be an option to scrape the old comments, what if we got some volunteers to go through and manually archive them with the hopes of reinstating them in the future?
Ashto, December 08, 2014, 11:45:01 am

Short answer: yes.

Long answer: yes, but that would be a fuckload of work. I doubt it would be worth it.

Basically what you could do is create an XML file, with the following entries...
XML
<item>
<title>Title of Episode</title>
<link>URL of Episode (new link, not the old system)</link>
<content:encoded>The comment, HTML is allowed in here, I think?</content:encoded>
<dsq:thread_identifier>(the URL without thefpl.us)</dsq:thread_identifier>
<wp:post_date_gmt>time/date stamp. Must be YYYY-MM-DD HH:MM:SS 24-hour format.</wp:post_date_gmt>
</item>

Looking at the docs, I could import a file with that structure. But that looks like a hideous amount of data entry.

ETA: I bet you could build a scraper. The shame is that this XML format doesn't have a field for upvotes, which is weird.
« Last Edit: December 08, 2014, 05:02:44 pm by Lemon »

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 4,127
  • 421
Losing the old comments is whatever, as long as we save Forthelove's drawings and this.
fifty cents, December 08, 2014, 04:01:58 pm

All fanart that was still online last weekend  has been catalogued. The Turkey Neck Ballsack will be preserved  for the ages. That placenta drawing and that gorgeous  Mealitary drawing have been lost.

nigeline

  • Willy Dang Doodle
  • Paid
  • All you do is dump
    • 418
    • 28
Losing the old comments is whatever, as long as we save Forthelove's drawings and this.
fifty cents, December 08, 2014, 04:01:58 pm

All fanart that was still online last weekend  has been catalogued. The Turkey Neck Ballsack will be preserved  for the ages. That placenta drawing and that gorgeous  Mealitary drawing have been lost.
Lemon, December 08, 2014, 05:35:44 pm
Fear not, we have preserved Frank West saying "meeeealitary" for the ages.

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 4,127
  • 421
So, just out of curiosity, I tried importing some old comments. And it kind of worked.

http://thefpl.us/beta/episode/151#disqus_thread

As you can see, I got the old comments with the old datestamps in there (but without the votes), which is kind of cool, but it shits the bed once it runs into HTML formatting.

If you're curious, here's the XML file I wrote.
XML
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dsq="http://www.disqus.com/"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wp="http://wordpress.org/export/1.0/"
>
  <channel>
    <item>
      <!-- title of article -->
      <title>F Plus Sings!</title>
      <!-- absolute URI to article -->
      <link>http://thefpl.us/beta/episode/151</link>
      <!-- value used within disqus_identifier; usually internal identifier of article -->
      <dsq:thread_identifier>episode/151</dsq:thread_identifier>
      <!-- creation date of thread (article), in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
      <wp:post_date_gmt>2014-09-13 13:39:00</wp:post_date_gmt>
      <!-- open/closed values are acceptable -->
      <wp:comment_status>open</wp:comment_status>
      <wp:comment>
        <!-- internal id of comment -->
        <wp:comment_id>1</wp:comment_id>
        <!-- author display name -->
        <wp:comment_author>CuddleWEEDLYWEEDLY</wp:comment_author>
        <!-- comment datetime, in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
        <wp:comment_date_gmt>2014-09-13 17:52:00</wp:comment_date_gmt>
        <!-- comment body; use cdata; html allowed (though will be formatted to DISQUS specs) -->
        <wp:comment_content>o/~ ANTS ON KITCHEN COUNTER! o/~</wp:comment_content>
        <!-- is this comment approved? 0/1 -->
        <wp:comment_approved>1</wp:comment_approved>
      </wp:comment>
  <wp:comment>
        <!-- internal id of comment -->
        <wp:comment_id>2</wp:comment_id>
        <!-- author display name -->
        <wp:comment_author>Miles Beavis</wp:comment_author>
        <!-- comment datetime, in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
        <wp:comment_date_gmt>2014-09-13 18:08:00</wp:comment_date_gmt>
        <!-- comment body; use cdata; html allowed (though will be formatted to DISQUS specs) -->
        <wp:comment_content>It's a crying shame that Jimmyfranks didn't get a verse in "No Sex". THANKS, STOG. >:(</wp:comment_content>
        <!-- is this comment approved? 0/1 -->
        <wp:comment_approved>1</wp:comment_approved>
      </wp:comment>
  <wp:comment>
        <!-- internal id of comment -->
        <wp:comment_id>3</wp:comment_id>
        <!-- author display name -->
        <wp:comment_author>Djw175</wp:comment_author>
        <!-- comment datetime, in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
        <wp:comment_date_gmt>2014-09-13 18:27:00</wp:comment_date_gmt>
        <!-- comment body; use cdata; html allowed (though will be formatted to DISQUS specs) -->
        <wp:comment_content><![CDATA[Since I'm tonedeaf, I won't participate in the remix, buy I did hear one of my keywords!<br><br><img class="img" src="http://i.imgur.com/waBvuk8.png" alt="" border="0"><br><br>This is an unholy amalgamation of four different kickstarters I used for references. I used that creator picture because it just looked so happy! And those numbers are from an actual music kickstarter I found. The person wants $2k to record some hip-hop stuff.inspired by "10 years of music exploration".The creators age? 23]]></wp:comment_content>
        <!-- is this comment approved? 0/1 -->
        <wp:comment_approved>1</wp:comment_approved>
      </wp:comment>
  <wp:comment>
<!-- internal id of comment -->
        <wp:comment_id>9</wp:comment_id>
        <!-- author display name -->
        <wp:comment_author>Bob Johnson</wp:comment_author>
        <!-- comment datetime, in GMT. Must be YYYY-MM-DD HH:MM:SS 24-hour format. -->
        <wp:comment_date_gmt>2014-09-14 19:47:00</wp:comment_date_gmt>
        <!-- comment body; use cdata; html allowed (though will be formatted to DISQUS specs) -->
        <wp:comment_content>PARTY PARTY PARTY PARTY PARTY PARTY</wp:comment_content>
        <!-- is this comment approved? 0/1 -->
        <wp:comment_approved>1</wp:comment_approved>
      </wp:comment>
    </item>
  </channel>
</rss>

Ashto

  • Paid
  • I don't even know anymore
    • 676
    • 43
Strange... I'm guessing Disqus uses its own markup to display images?

Referencing their documentation, it looks like it simply embeds media by itself simply by providing the direct link. So if one were to create the .xml file, one would have to strip out the HTML from around the link for it to work. That sort of cleaning up would add a bit more to the workload.

Rust

  • Ouroboros
  • Paid
  • Happy little accidents
  • 29
  • 8
The new sites lookin' good. However, I did find a tiny problem. When adjusting the volume on the little player thingamajig, the volume bar doesn't show any change when you scroll it up and down, but the volume does change. Not a major issue, but something I noticed. Might just be an issue on my end though since I always seem to have odd problems with these things.

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 4,127
  • 421
When adjusting the volume on the little player thingamajig, the volume bar doesn't show any change when you scroll it up and down, but the volume does change. Not a major issue, but something I noticed. Might just be an issue on my end though since I always seem to have odd problems with these things.
Rust, December 14, 2014, 06:28:09 pm

So, the little player thingamajig is an <audio> element, unstyled and given directly to the browser to do as it pleases (all browsers style these completely differently). So a UI issue on the audio element would be the fault of the browser you're using. Do you know what you're using and is it possible it needs to be upgraded?

Nikaer Drekin

  • One-Man Nic Cage Fan Club
  • Paid
  • "My burrito is a big deal"
  • 682
  • 47
I've noticed one little problem with the site- I clicked on the "teenagers" tag, and noticed that the School Survival episode wasn't listed! Given that this is THE MOST "TEENAGERS" EPISODE EVER, I felt I had to bring it up.

nigeline

  • Willy Dang Doodle
  • Paid
  • All you do is dump
    • 418
    • 28
I've noticed one little problem with the site- I clicked on the "teenagers" tag, and noticed that the School Survival episode wasn't listed! Given that this is THE MOST "TEENAGERS" EPISODE EVER, I felt I had to bring it up.
Nikaer Drekin, December 14, 2014, 09:37:11 pm
Please do this, and please make "THE MOST TEENAGERS EPISODE EVER" a tag as well.

Rust

  • Ouroboros
  • Paid
  • Happy little accidents
  • 29
  • 8
So, the little player thingamajig is an <audio> element, unstyled and given directly to the browser to do as it pleases (all browsers style these completely differently). So a UI issue on the audio element would be the fault of the browser you're using. Do you know what you're using and is it possible it needs to be upgraded?

Just plain Firefox that should be up to date. When I open the source audio in a new tab, the volume slider works just like it should. It's just that on the site it doesn't show a change when I move the slider up and down.

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 4,127
  • 421
I've noticed one little problem with the site- I clicked on the "teenagers" tag, and noticed that the School Survival episode wasn't listed!
Nikaer Drekin, December 14, 2014, 09:37:11 pm
Fixed.

Puppy Time

  • Rainbow Brownshirt
  • Paid
  • AND THEN THEY'LL HAVE A DONKEY HEAD!
  • 948
  • 33
When I click on tags within an episode page, no matter which tag, it always displays a search for "forums" instead.  (Attached is a screenshot of the result I get.)  This doesn't happen when clicking on the taglist on the main page.

Lemon

  • Whatever happened to Freedom of Speech?
  • Administrator
  • ...IT'S NOW THE MASH!
  • 4,127
  • 421
Good catch.

I have the site set up to cache pages (to speed up load time), but that doesn't work when a site can accept arguments. I set up caching to get ignored on /find/, so that's fixed now.

JamEngulfer

  • Paid
  • 76
  • 13
Unless I'm really dumb, I can't find the spreadsheet with all of the potential/rejected episodes anymore.
BomberJacket