Thanks. In terms of backup, I was thinking of looking into web-intents. It looks pretty interesting. Read more about it here...
http://webintents.org/
I'll have a go at doing this myself. Though am still struggling to get the raw scripts running on my local machine. I'm going to try again hopefully this weekend. I've only just started doing development so might be a little slow in getting my head around it.
But am going through flask documentation as we speak.
Thanks Richie. This is a great project. I have used rawscripts on chromebook through the web store and it works pretty well.
On Friday, 23 March 2012 16:13:00 UTC, ritchiew wrote:
> (thanks for getting this out of the forums!)
>
> </div>
> 1) I have been looking for a good, Courier-like font. That Bitstream Courier Screenplay seems to fit the bill. The only other thing to consider is that adding fonts to the the software means, we're distributing fonts. That means copyright licences are important. So for example, Courier Final Draft is out of the question. Bitstream Courier Screenplay looks like it should work just fine, but I'd like to get someone like the FSF to back me up on that. Could also look at Nimbus Mono. But if you want to work on changing fonts, I say go for it! In the browser, the screenplay is rendered in a <canvas> so check out these files to get going:</div>
>
> /rawscripts/resources/screenplay/static/js/editor.js</div>
> /rawscripts/resources/screenplay/static/js/draw.js</div>
> /rawscripts/resources/screenplay/templates/editor.html</div>
>
> </div>
> And PDF's are created with a pure python library called ReportLab. I know you give it arbitrary fonts to use, but that's all i know.</div>
>
>
> </div>
> 2) Changing the font won't change the length of your screenplay when printed. Rawscripts does all the work of figuring out where to wrap lines of text, where page breaks ought to be, and all that. If it's off (shit, 10 pages?) then it's a problem in our code. Here's where you can find the browser renderer (well documented) and the PDF render (not well documented):</div>
>
> /rawscripts/resources/screenplay/static/js/calc.js</div>
> /rawscripts/export.py</div>
>
> </div>
> 3) Backups definitely are on the list of things to do. If that's something you wanted to work on, here are a couple of things to consider. First, keep in mind that people might want to backup to Dropbox, or Google Docs, or OwnCloud, or any other place. So build your Dropbox integration, but make it as extensible as possible. Hopefully when someone comes along and wants to build OwnCloud integration, they can just drop in a file or two and hook into your backup system. The other thing is what files you actually want to backup. You'll want to backup the file in a way that you can later import it back into any screenwriting software. At the moment the only thing that works is a .txt file. Rawscripts can create them in a way that's usable by FD, Celtx, Rawscripts, and probabaly others. I'd use that format at minimum.</div>
>
>
> </div>
> 4) If you're not using Rawscripts on your chrombook, you can. It's running at <a href="http://rawscripts.com" target="_blank">rawscripts.com</a>. An easy link to it is also in chrome webstore here <a href="https://chrome.google.com/webstore/detail/bmnfbjppbmnpihagbhlicmdohnjhompa" target="_blank">https://chrome.google.com/webstore/detail/bmnfbjppbmnpihagbhlicmdohnjhompa</a></div>
>
>
> </div>
> Parts of flask, like the templating system, should look almost identical to django. Other parts, not so much. But it should be pretty quick to learn, and the Flask documentation is great. And If youve got questions, don't hesitate to ask.</div>
>
>
> </div>
> Cheers</div>
> Ritchie</div>
>
>
> On Thu, Mar 22, 2012 at 5:38 PM, Iqbal Ali <span dir="ltr"><<a href="mailto:iq...@iqbala.com" target="_blank">iq...@iqbala.com</a>></span> wrote:
>
> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a name="CACCEtu6RqKBRsNfXhWppYg6YPgeA4=dXcj2H0Qsd...@mail.gmail.com_1363c59116f0bca3_25002" style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">Hi guys
>
> Congrats on the project. Raw Scripts is awesome. I can see a heck of a lot of potential. I've downloaded the code and am trying to get my head around it to see how I can help (hopefully I can contribute to the great work you've done so far).
>
>
>
> Couple of things to make this application even better:
> 1) The normal courier font you are using doesn't seem to be the correct font. I tried it with one of my scripts and compared against final draft. My script turns out ten pages longer when using your program than using Final Draft.
>
>
>
> See Fonts section of the following site for what I think is the correct font...
> </a><a href="http://www.fadeinpro.com/page.pl?content=download" rel="nofollow" style="color:purple;font-size:15px;font-family:Georgia,'Times New Roman',Times,serif" target="_blank">http://www.fadeinpro.com/page.pl?content=download</a><span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif"> </span>
>
>
> <span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">...or alternatively search and download Courier Final Draft. I believed it can be loaded on 'most' browsers via... </span>
>
>
> <span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">@font-face { </span>
>
> <span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">font-family: "My Custom Font"; </span>
>
>
> <span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">src: url(<a href="http://www.example.org/mycustomfont.ttf" target="_blank">http://www.example.org/mycustomfont.ttf</a>) format("truetype"); </span>
>
>
> <span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">} </span>
>
> <span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">...maybe a fallback to the font you are currently using for unsupported browsers. </span>
>
>
>
> <span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">- Another feature to get people using it more? You could link directly to users dropbox accounts to store the script files. Screenwriters are a very paranoid bunch of people and not storing their scripts yourselves means they can be sure that the scripts are backed up safely and also, that no unscrupulous types are going to steal there script(s). </span>
>
>
>
> <span style="font-size:15px;font-family:Georgia,'Times New Roman',Times,serif">As I mentioned, I am trying to go through the code of your site (I know a little django and am hoping the skills than transfer to flask), and I hope I can contribute and help. But I wanted to thank you for your work on this so far. I have a Chromebook and would love to use your app on it.</span>
> </blockquote></div>
>
>
>
> </div>--
> Ritchie
> <a href="mailto:rawil...@gmail.com" target="_blank">rawil...@gmail.com</a></div>
>
> </div>