Gumming up the works of the gallery.
Posted: Sat Oct 10, 2009 3:19 am
So... I just posted my first two creations, and I've got another one that I'd like to post. However, I also noticed that on the gallery page, the entire code of the cfdg file gets posted, and since I'm using macros to generate my cfdg files, my 100+ line files make for a lot of scrolling. My most recent piece, which I'm pretty proud of, is 800+ lines of code after macro expansions (from 112). I'm wondering what the preferred method of dealing with this is. I don't want to make the 'last 5' gallery page endless, but I do want to share my source code. I could share the pre-macro version, but then other people wouldn't be able to run it without additional setup. I also ran into issues with the gallery not liking my unexpanded file between
Code: Select all
tags; probably some character combination that I use that it doesn't like. I'm a bit worried that the problem will be nastier when the code in the cfdg file (which gets onto the page via a file upload, rather than a text box, so it might not be caught when it should be), although I haven't tried it yet.
Anyways, just wanted to hear opinions. I've got my own webspace where I can post my creations if that's neater... or maybe there's an easy way to make the code visibility optional (another forum I frequent has [spoiler] tags, although putting them around the uploaded file might be something an admin would have to do).
On an unrelated note: What's the philosophy of the CF community regarding context? Is it cheating to add context and that's frowned upon (some of my macros exist for exactly that reason: to add context), or is context something that would be nice if it were possible, but simple isn't at the moment? I'm a bit torn about this. On the one hand, I appreciate CF as a unique art medium, and adding context would take away some of that uniqueness. On the other hand, the lack of context makes CF a lot less useful as a generalized art tool, even though in many ways it's one of the best tools that I've seen for generating art: it's simple to use and produces nice clean images in any desired resolution. Also, there's almost no overhead of coding between you and the canvas, unlike many programming environments for art.