Recent Forum Posts
-
Call for stripShow sites for gallery!
posted in forum Announcements by Esn on June 25, 2010 at 9:02 pm
-
Some things I'd like to do - lightboxes, 784px width, CC license
posted in forum Support Requests by Esn on June 15, 2010 at 2:24 pm
-
Archive Image Problem (resolved)
posted in forum Support Requests by Esn on June 9, 2010 at 1:23 pm
-
Can only view one Comic
posted in forum Support Requests by silvestri99 on May 27, 2010 at 10:34 pm
-
Latest comic shows, but not the rest.
posted in forum Support Requests by AlphaNeonic on May 21, 2010 at 5:13 pm
-
Call for stripShow sites for gallery!
Forums | Transcript Problem
Transcript Problem
3:07 pm
July 11, 2008
DmL
posts 12
Hi! I love stripshow, I've had great success getting things set up. I was looking into some of the more advanced features and stumbled a bit with transcripts.
The link in question:
http://evo.dmlcorp.net/2008/03/04/dinner/
As you can see I've copy and pasted the code from the help file and it doesn't work correctly. I've checked with the default theme and it does the same thing as well. This is ver. 1.6
Thanks in advance!
David
edit: The really odd thing is how that all persisted across copies, saves, etc.
3:21 pm
July 11, 2008
Brad
posts 186
One possible cause of your problem is that you entered the transcript code using WordPress's built-in "Visual" editor — which changes all the curly brackets to equivalent HTML entities instead of leaving them as-is.
Instead, enter the transcript code in "Code" or "HTML" mode.
4:30 pm
July 11, 2008
DmL
posts 12
Hmm, that doesn't seem to be it, drat. Thought for sure that could have been the problem.
edit: Pressing enter to seperate the lines breaks it completely, too.
12:59 pm
July 13, 2008
Brad
posts 186
That wasn't it? Hmm. I thought sure it would be.
Ah… here's something interesting. Looks like stripShow STARTS encoding the transcription OK, but then stops. Try this: Copy the entire transcript code into your clipboard, then delete it. Make sure you're in HTML mode, and paste it into the post. See if that works.
2:37 pm
July 13, 2008
DmL
posts 12
Okay… things become clearer. I'd copied the vampire example from the html help, and no newlines paste. So it starts encoding but fails. I pasted the "What's up?" example from a bit above it (which I missed the first time through the docs), and it pastes with newlines… this one works. Deleting the newlines causes it to fail just like the vampire example. But I can afterward add the newlines back in and everything is fine again.
So I looked at the dracula example… and it pastes with a character that doesn't render where the newlines should be (looking at the original HTML and a saved out post.php.htm, it's just a normal CRLF (hex 0D 0A), the only difference is in the what's up example, they end in < / div > tags in the html….
At this point I've figured out the intricacies at least of this version and have it working, and this is a borderline case (faulty or missing newlines) but seems like a bit of a bug, neh? Maybe the transcript code shouldn't care about newlines or anything of that nature between }}{{s? I have no idea. Anyway, I'd look at the php myself but I'm more of a troubleshooter than a coder.
David
3:15 pm
July 13, 2008
Brad
posts 186
I think you're onto something. I'll have to brush up on my regexp skills and see what I can do.
4:14 pm
July 13, 2008
DmL
posts 12
Now that this is working, I wanted to share a trick:
http://www.bram.us/2008/03/16/ps_bramustextexport-13-automatically-export-all-text-layers-from-photoshop-psd-to-a-text-file/
Using that I was able to quickly dump text from Photoshop into a .txt file. Editing the transcript in Notepad took all of 30 seconds!
Check the attachments, which gives really quick, pretty results!
http://evo.dmlcorp.net/2008/03/14/confrontation/
Thanks a million! (check the attachments for example txt if you like)
5:05 pm
July 13, 2008
Brad
posts 186
Thanks a lot for the input, DmL. I've started rewriting the transcript code to be much more robust, to accommodate things like extraneous or missing linefeeds. That will be in the next version of stripShow.
5:42 pm
July 13, 2008
Brad
posts 186
God, I wish WordPress didn't want to mess with any < or > characters in your post — using straight ComicsML for the transcriptions would be so great.
6:56 pm
July 13, 2008
DmL
posts 12
Sorry to make more work for you. : ) Now I just need to figure out how I want to format my transcripts for video:
http://evo.dmlcorp.net/2008/01/05/words-are-flowing-out/
7:54 am
July 14, 2008
EddieC
posts 7
Could stripShow interface with OhNorobot?
8:16 am
July 14, 2008
Brad
posts 186
I have corresponded with Ryan North about this, and unfortunately, the API for ONR is just not ready. And, unfortunately, it seems Ryan's moved on to other things and there's not a lot of work being done on ONR these days. It would be nice, sure. But I don't see it happening anytime soon.