From harvester at lists.evolt.org Mon Jun 29 00:00:06 2009 From: harvester at lists.evolt.org (harvester at lists.evolt.org) Date: 29 Jun 2009 00:00:06 -0500 Subject: [thelist] Tip Harvest for the Week of Monday Jun 22, 2009 Message-ID: <20090629050006.12994.qmail@tempest.evolt.org> The tip harvest for the Week of Monday Jun 22, 2009 has been added to the lists.evolt.org site. Get it at: http://lists.evolt.org/harvest/show.cgi?w=20090622 Week at a glance listing at: http://lists.evolt.org/harvest/week.cgi?w=20090622 Harvest Summary --------------- Number of messages: 35 Number of tips : 1 Tip Authors ----------- Fred Jones (1) Tip Types --------- file transfer via ssh (1) ------------------------------------------------------------------------------ What: Tips are how a list subscriber "pays" for making an off-topic post to the list (see List Info for more information). Of course, this does not make off-topic posts acceptable. :) How : You include a tip in your posting by using the [tip]...[/tip] tag (replace the square brackets with angle brackets). The tip tag takes the optional attributes of 'type' and 'author'. From Susan.Payne at cpa.state.tx.us Mon Jun 29 08:25:02 2009 From: Susan.Payne at cpa.state.tx.us (Susan Payne) Date: Mon, 29 Jun 2009 08:25:02 -0500 Subject: [thelist] page weight Message-ID: Do you have a standard for the total page weight for your sites? I have a graphic designer who's giving me image files that are way too large. My previous employer said no bigger than what would take more than 10 secs to download over a 56k. I think that's not reasonable and am not really designing for dial up. Slow public wi-fi, yes. Any standards/sources that can back me up as to why a total page size of half a MB is too much would be appreciated. Susan Payne From david at chelseacreekstudio.com Mon Jun 29 08:39:11 2009 From: david at chelseacreekstudio.com (David Laakso) Date: Mon, 29 Jun 2009 09:39:11 -0400 Subject: [thelist] page weight In-Reply-To: References: Message-ID: <4A48C3FF.7000904@chelseacreekstudio.com> Susan Payne wrote: > Do you have a standard for the total page weight for your sites? > > Susan Payne > This my be helpful? > > > > > > > > > From randalrust at gmail.com Mon Jun 29 15:20:16 2009 From: randalrust at gmail.com (Randal Rust) Date: Mon, 29 Jun 2009 16:20:16 -0400 Subject: [thelist] Help with Social Network/Community Functionality Message-ID: We are developing a custom community for a client. The community allows members to: 1. Post Stories (there are 2 categories of stories) 2. Post Photos 3. Post Recipes 4. Comment on Stories Whenever an item is posted to the site, it requires approval from the community administrator. So if the member uploads a story, the administrator reviews it. If the member uploads a photo, the administrator reviews it. And so on. The model is consistent throughout the site, except for one category of stories. In that one-off category, the client wants members to be able to upload a photo at the same time they create a story. This causes an issue with approving the story for display on the site, because the administrator may actually like the story, but not the photo. And of course, this is giving me a fairly good headache. I have looked over Facebook, MySpace, etc. and basically no one seems to allow the user to mix content like our client has asked. FWIW, in the initial version of what we developed, members can associate only *approved* photos with stories in the one category. This works just fine, but of course the client came back and asked if we could make the story creation and photo upload all work in one step. Thoughts? Suggestions? TIA. -- Randal Rust R.Squared Communications www.r2communications.com 614-370-0036 From Paul.Bennett at mch.govt.nz Mon Jun 29 15:39:03 2009 From: Paul.Bennett at mch.govt.nz (Paul Bennett) Date: Tue, 30 Jun 2009 08:39:03 +1200 Subject: [thelist] Help with Social Network/Community Functionality In-Reply-To: Message-ID: Hi Randal, Not sure if you're looking for suggestions or a tool / framework to do the heavy lifting for you. Drupal is a framework / CMS which has very flexible and extensible content types and permissions. Drupal makes it easy to create, relate and mix different types of content and apply different permissions and basic workflow to each content type. With the addition of the CCK (Content Construction Kit) module, you have tons of flexibility to create content types with fields, images, drop downs etc. The learning curve is relatively steep, but the time investment is definitely worth it. Paul -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Randal Rust Sent: Tuesday, 30 June 2009 8:20 a.m. To: thelist at lists.evolt.org Subject: [thelist] Help with Social Network/Community Functionality We are developing a custom community for a client. The community allows members to: 1. Post Stories (there are 2 categories of stories) 2. Post Photos 3. Post Recipes 4. Comment on Stories Whenever an item is posted to the site, it requires approval from the community administrator. So if the member uploads a story, the administrator reviews it. If the member uploads a photo, the administrator reviews it. And so on. The model is consistent throughout the site, except for one category of stories. In that one-off category, the client wants members to be able to upload a photo at the same time they create a story. This causes an issue with approving the story for display on the site, because the administrator may actually like the story, but not the photo. And of course, this is giving me a fairly good headache. I have looked over Facebook, MySpace, etc. and basically no one seems to allow the user to mix content like our client has asked. FWIW, in the initial version of what we developed, members can associate only *approved* photos with stories in the one category. This works just fine, but of course the client came back and asked if we could make the story creation and photo upload all work in one step. Thoughts? Suggestions? TIA. -- Randal Rust R.Squared Communications www.r2communications.com 614-370-0036 -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt ! www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - www.nzlive.com The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it. PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL From randalrust at gmail.com Mon Jun 29 16:43:17 2009 From: randalrust at gmail.com (Randal Rust) Date: Mon, 29 Jun 2009 17:43:17 -0400 Subject: [thelist] Help with Social Network/Community Functionality In-Reply-To: References: Message-ID: On Mon, Jun 29, 2009 at 4:39 PM, Paul Bennett wrote: > Not sure if you're looking for suggestions or a tool / framework to do > the heavy lifting for you. Suggestions:) We have our own custom-built framework where we can certainly mix and match content as the client wants. The issue is that what they are asking for creates a very confusing, unusable situation for both members and administrators. We are developing this portal for another company as a subcontractor. The problem is that our client thinks it is a good idea to be able to approve a story, yet reject the photo -- even though they are submitted at the same time, as part of one unit -- if that makes sense. It's like saying the car is OK, but we'd like different tires -- after the order has been placed and the car has been delivered. It creates, in my mind, unnecessary complexity. FWIW, I have spent some time going over Drupal. In fact, we have spent a good bit of time studying the code. -- Randal Rust R.Squared Communications www.r2communications.com 614-370-0036 From barney.carroll at gmail.com Mon Jun 29 23:46:10 2009 From: barney.carroll at gmail.com (Barney Carroll) Date: Tue, 30 Jun 2009 05:46:10 +0100 Subject: [thelist] Help with Social Network/Community Functionality In-Reply-To: References: Message-ID: <472577830906292146k2fbd85eds3e6977b5a4270d03@mail.gmail.com> Hi Randal, For me this would have to be one of two things: a) Drupal [http://drupal.org] I'm very cynical of Drupal as CMS for most applications but I think it could be very useful here: custom content types (recipes), user histories and user browsing are some of the things that are very quick and easy to get out of Drupal. It's also very easy to customise lists of "recently commented on" or "hot recipes" or whatever. Drupal is built with community contribution in mind and stands at a halfway house between ye olde forum and the modern understanding of 'social networking site'. b) Elgg [http://elgg.org] Alternatively if you want all the trappings of web 2.0 and more Facebookish features like elaborate user profiles; open, private or invite-only groups, events and all sorts of other generic content types and interactions we've come to expect of social networking, and advanced custom content types and quick hacking aren't important to you, I'd go with Elgg. I would add that Drupal has a huge community of users contributing modules and plugins, and are very responsive to cries for help and advice on anything Drupal-related; and also that while Elgg is incredibly quick to style and present as your own, it's much harder to do any serious tweaking and customisation. Regards, Barney Carroll barney.carroll at gmail.com 07594 506 381 2009/6/29 Randal Rust > On Mon, Jun 29, 2009 at 4:39 PM, Paul Bennett > wrote: > > > Not sure if you're looking for suggestions or a tool / framework to do > > the heavy lifting for you. > > Suggestions:) > > We have our own custom-built framework where we can certainly mix and > match content as the client wants. The issue is that what they are > asking for creates a very confusing, unusable situation for both > members and administrators. We are developing this portal for another > company as a subcontractor. > > The problem is that our client thinks it is a good idea to be able to > approve a story, yet reject the photo -- even though they are > submitted at the same time, as part of one unit -- if that makes > sense. It's like saying the car is OK, but we'd like different tires > -- after the order has been placed and the car has been delivered. It > creates, in my mind, unnecessary complexity. > > FWIW, I have spent some time going over Drupal. In fact, we have spent > a good bit of time studying the code. > > -- > Randal Rust > R.Squared Communications > www.r2communications.com > 614-370-0036 > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > From fredthejonester at gmail.com Tue Jun 30 02:53:17 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 30 Jun 2009 10:53:17 +0300 Subject: [thelist] Help with Social Network/Community Functionality In-Reply-To: References: Message-ID: <177c0a10906300053l560f945fpd826e2ecc40c3b6c@mail.gmail.com> > Thoughts? Suggestions? Drupal. That's it. DISCLAIMER: I am a Drupal developer and therefore prejudiced. PS: Even if I wasn't one, however, I would still say Drupal. lol ;) From mark.mandel at gmail.com Tue Jun 30 03:33:57 2009 From: mark.mandel at gmail.com (Mark Mandel) Date: Tue, 30 Jun 2009 18:33:57 +1000 Subject: [thelist] Help with Social Network/Community Functionality In-Reply-To: <177c0a10906300053l560f945fpd826e2ecc40c3b6c@mail.gmail.com> References: <177c0a10906300053l560f945fpd826e2ecc40c3b6c@mail.gmail.com> Message-ID: <4153ee230906300133s2376441lb9ae477c7214a3c4@mail.gmail.com> I've been hearing a lot of good things about Liferay recently: http://www.liferay.com Mark On Tue, Jun 30, 2009 at 5:53 PM, Fred Jones wrote: > > Thoughts? Suggestions? > > Drupal. That's it. > > DISCLAIMER: > > I am a Drupal developer and therefore prejudiced. > > PS: Even if I wasn't one, however, I would still say Drupal. lol ;) > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > -- E: mark.mandel at gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com From barney at clickwork.net Tue Jun 30 03:05:21 2009 From: barney at clickwork.net (Barney Carroll) Date: Tue, 30 Jun 2009 09:05:21 +0100 Subject: [thelist] Improving my PHP: autoread config files? Message-ID: <472577830906300105w794ef0d6na81e9cff6eb55980@mail.gmail.com> Hi list, I'm embarking on a new PHP project and wanted to sound people out for something I am certain exists but have difficulty defining or searching for. Essentially I am looking for a method to apply PHP instructions based on directory in much the same way .htaccess applies to all descendants. I know it is possible to define core values read out by PHP globals using plain old .htaccess, but I would like to define custom variables, prepend PHP includes to files depending on various factors, etc ? without having to make explicit reference to this configuration file in the files I wish to be affected, or vice-versa. Can anybody give me some pointers on how to go about this? Regards, Barney Carroll barney.carroll at gmail.com 07594 506 381 From sarahwbs at gmail.com Tue Jun 30 08:14:17 2009 From: sarahwbs at gmail.com (Sarah Adams) Date: Tue, 30 Jun 2009 10:14:17 -0300 Subject: [thelist] Improving my PHP: autoread config files? In-Reply-To: <472577830906300105w794ef0d6na81e9cff6eb55980@mail.gmail.com> References: <472577830906300105w794ef0d6na81e9cff6eb55980@mail.gmail.com> Message-ID: <4A4A0FA9.1040601@gmail.com> > I'm embarking on a new PHP project and wanted to sound people out for > something I am certain exists but have difficulty defining or searching for. > Essentially I am looking for a method to apply PHP instructions based on > directory in much the same way .htaccess applies to all descendants. I know > it is possible to define core values read out by PHP globals using plain old > .htaccess, but I would like to define custom variables, prepend PHP includes > to files depending on various factors, etc ? without having to make explicit > reference to this configuration file in the files I wish to be affected, or > vice-versa. Sounds like you're looking for something like CF's Application.cfm, i.e. it automatically gets included on each request for a php file. I'd love to know of something like this myself :) -- sarah adams web developer & programmer http://sarah.designshift.com From hassan.schroeder at gmail.com Tue Jun 30 08:21:47 2009 From: hassan.schroeder at gmail.com (Hassan Schroeder) Date: Tue, 30 Jun 2009 06:21:47 -0700 Subject: [thelist] Help with Social Network/Community Functionality In-Reply-To: References: Message-ID: <4eedb92a0906300621x3dc47846w57227a870df4fdc4@mail.gmail.com> On Mon, Jun 29, 2009 at 2:43 PM, Randal Rust wrote: > The problem is that our client thinks it is a good idea to be able to > approve a story, yet reject the photo -- even though they are > submitted at the same time, as part of one unit -- if that makes > sense. It makes sense to me -- sounds exactly like what an editor would do. The approval flow is now certainly more complex than the decoupled version -- but that's an implementation detail :-) FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder at gmail.com From randalrust at gmail.com Tue Jun 30 08:32:04 2009 From: randalrust at gmail.com (Randal Rust) Date: Tue, 30 Jun 2009 09:32:04 -0400 Subject: [thelist] Help with Social Network/Community Functionality In-Reply-To: <4eedb92a0906300621x3dc47846w57227a870df4fdc4@mail.gmail.com> References: <4eedb92a0906300621x3dc47846w57227a870df4fdc4@mail.gmail.com> Message-ID: > On Mon, Jun 29, 2009 at 2:43 PM, Randal Rust wrote: >> The problem is that our client thinks it is a good idea to be able to >> approve a story, yet reject the photo -- even though they are >> submitted at the same time, as part of one unit -- if that makes >> sense. > > It makes sense to me -- sounds exactly like what an editor would do. ha! you are so right. it is a case of usability and adhering to the defined business rules. what they don't understand is that if we change the business rules for this one aspect, users will be wondering why the same rules don't apply to the other areas. > The approval flow is now certainly more complex than the decoupled > version -- but that's an implementation detail :-) yes. i think i have a solution that will work for the administrator approval, and won't have much, if any, impact on the users. -- Randal Rust R.Squared Communications www.r2communications.com 614-370-0036 From mydarb at gmail.com Tue Jun 30 09:50:28 2009 From: mydarb at gmail.com (Brady Mitchell) Date: Tue, 30 Jun 2009 07:50:28 -0700 Subject: [thelist] Improving my PHP: autoread config files? In-Reply-To: <472577830906300105w794ef0d6na81e9cff6eb55980@mail.gmail.com> References: <472577830906300105w794ef0d6na81e9cff6eb55980@mail.gmail.com> Message-ID: <4A4A2634.5090409@gmail.com> Barney Carroll wrote: > Hi list, > > I'm embarking on a new PHP project and wanted to sound people out for > something I am certain exists but have difficulty defining or searching for. > Essentially I am looking for a method to apply PHP instructions based on > directory in much the same way .htaccess applies to all descendants. I know > it is possible to define core values read out by PHP globals using plain old > .htaccess, but I would like to define custom variables, prepend PHP includes > to files depending on various factors, etc ? without having to make explicit > reference to this configuration file in the files I wish to be affected, or > vice-versa. > > Can anybody give me some pointers on how to go about this? > Take a look at: http://us.php.net/manual/en/ini.core.php#ini.auto-prepend-file " Specifies the name of a file that is automatically parsed before the main file. The file is included as if it was called with the require() function, so include_path is used. The special value none disables auto-prepending." This can be set in php.ini or .htaccess. Brady From barney.carroll at gmail.com Tue Jun 30 10:08:22 2009 From: barney.carroll at gmail.com (Barney Carroll) Date: Tue, 30 Jun 2009 16:08:22 +0100 Subject: [thelist] Improving my PHP: autoread config files? In-Reply-To: <4A4A2634.5090409@gmail.com> References: <472577830906300105w794ef0d6na81e9cff6eb55980@mail.gmail.com> <4A4A2634.5090409@gmail.com> Message-ID: <472577830906300808l3f82d284tfe2221a2e4371510@mail.gmail.com> Thanks Brady, this is exactly what I needed. That's saved me aeons! Regards, Barney Carroll barney.carroll at gmail.com 07594 506 381 2009/6/30 Brady Mitchell > Barney Carroll wrote: > > Hi list, > > > > I'm embarking on a new PHP project and wanted to sound people out for > > something I am certain exists but have difficulty defining or searching > for. > > Essentially I am looking for a method to apply PHP instructions based on > > directory in much the same way .htaccess applies to all descendants. I > know > > it is possible to define core values read out by PHP globals using plain > old > > .htaccess, but I would like to define custom variables, prepend PHP > includes > > to files depending on various factors, etc ? without having to make > explicit > > reference to this configuration file in the files I wish to be affected, > or > > vice-versa. > > > > Can anybody give me some pointers on how to go about this? > > > > Take a look at: > > http://us.php.net/manual/en/ini.core.php#ini.auto-prepend-file > > " Specifies the name of a file that is automatically parsed before the > main file. The file is included as if it was called with the require() > function, so include_path is used. > > The special value none disables auto-prepending." > > This can be set in php.ini or .htaccess. > > Brady > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! > From vreeland at studioframework.com Wed Jul 1 08:03:10 2009 From: vreeland at studioframework.com (Robert Vreeland) Date: Wed, 1 Jul 2009 09:03:10 -0400 Subject: [thelist] Host recommendations for FFMpeg and VPS Message-ID: <2EFF77B44EDF4F19887DA62B45FDC922@DadPC> Hello all, I'm looking for recommendations for a good host for a streaming media site. My client is looking for VPS and FFMpeg support. He is currently with apthost and is having bandwidth issues - http file uploads are dropped on a random basis. HostV.com has been identified as a possible host, but I am not familiar with them. Thanks in advance, Robert Vreeland StudioFramework From randalrust at gmail.com Wed Jul 1 10:29:21 2009 From: randalrust at gmail.com (Randal Rust) Date: Wed, 1 Jul 2009 11:29:21 -0400 Subject: [thelist] Help Finding an HTML Email View in a CakePHP Application Message-ID: We have inherited a CakePHP application that sends a formatted HTML email when someone completes the site's registration process. The method that invokes the email is: $this->Invoice->send($districtInfo['District']['invoiceEmail'], 'PO Order', $insert_data) The problem I'm having is that I cannot find the view for the HTML formatting. If I look at the Invoice model, I cannot figure out where the code (see below) calls the view. This does not seem to follow anything that I see here: http://book.cakephp.org/view/269/Sending-a-basic-message ============================================ function send($email, $invoice_id, $insert_data) { if (! preg_match(VALID_EMAIL, $email)) { return false; } if (preg_match('/^[0-9]{1,10}$/', $invoice_id)) { $result = $this->find(('`Invoice`.`id` = ' . $invoice_id)); } else { $result = $this->find(('`Invoice`.`name` = "' . $this->mrClean->sql($invoice_id) . '"')); } if (empty($result)) { return false; } $tokens = array(); $replacements = array(); foreach ($insert_data as $key => $value) { $tokens[] = '%' . $key . '%'; $replacements[] = $value; } $message = str_replace($tokens, $replacements, $result['Invoice']['invoice']); $headers = 'MIME-Version: 1.0' . "\r\n" . 'Content-type: text/html; charset=iso-8859-1' . "\r\n" . 'From: ' . $this->adminEmail . "\r\n" . 'Reply-To: ' . $this->adminEmail . "\r\n" . 'Bcc: ' . 'test at example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); if (mail($email, $result['Invoice']['name'], $message, $headers, ('-f' . $this->adminEmail)) && mail($this->adminEmail, $result['Invoice']['name'], $message, $headers, ('-f' . $this->adminEmail))) { return true; } else { return false; } } -- Randal Rust R.Squared Communications www.r2communications.com 614-370-0036 From rjmolesa at consoltec.net Wed Jul 1 10:45:05 2009 From: rjmolesa at consoltec.net (Jon Molesa) Date: Wed, 1 Jul 2009 11:45:05 -0400 Subject: [thelist] Help Finding an HTML Email View in a CakePHP Application In-Reply-To: References: Message-ID: <20090701154505.GE21060@jenna.rjmolesa.homelinux.net> Try: app/views/elements/email/html app/views/elements/email/txt app/views/emailxs/html app/views/emailxs/txt *On Wed, Jul 01, 2009 at 11:29:21AM -0400 Randal Rust wrote: > Date: Wed, 1 Jul 2009 11:29:21 -0400 > From: Randal Rust > Subject: [thelist] Help Finding an HTML Email View in a CakePHP Application > To: thelist at lists.evolt.org > > We have inherited a CakePHP application that sends a formatted HTML > email when someone completes the site's registration process. The > method that invokes the email is: > > $this->Invoice->send($districtInfo['District']['invoiceEmail'], 'PO > Order', $insert_data) > > The problem I'm having is that I cannot find the view for the HTML > formatting. If I look at the Invoice model, I cannot figure out where > the code (see below) calls the view. This does not seem to follow > anything that I see here: > > http://book.cakephp.org/view/269/Sending-a-basic-message > > ============================================ > > function send($email, $invoice_id, $insert_data) > { > if (! preg_match(VALID_EMAIL, $email)) { > return false; > } > if (preg_match('/^[0-9]{1,10}$/', $invoice_id)) { > $result = $this->find(('`Invoice`.`id` = ' . $invoice_id)); > } else { > $result = $this->find(('`Invoice`.`name` = "' . > $this->mrClean->sql($invoice_id) . '"')); > } > if (empty($result)) { > return false; > } > > $tokens = array(); > $replacements = array(); > foreach ($insert_data as $key => $value) { > $tokens[] = '%' . $key . '%'; > $replacements[] = $value; > } > $message = str_replace($tokens, $replacements, $result['Invoice']['invoice']); > $headers = 'MIME-Version: 1.0' . "\r\n" . > 'Content-type: text/html; charset=iso-8859-1' . "\r\n" . > 'From: ' . $this->adminEmail . "\r\n" . > 'Reply-To: ' . $this->adminEmail . "\r\n" . > 'Bcc: ' . 'test at example.com' . "\r\n" . > 'X-Mailer: PHP/' . phpversion(); > if (mail($email, $result['Invoice']['name'], $message, $headers, > ('-f' . $this->adminEmail)) && > mail($this->adminEmail, $result['Invoice']['name'], $message, > $headers, ('-f' . $this->adminEmail))) { > return true; > } else { > return false; > } > } > > -- > Randal Rust > R.Squared Communications > www.r2communications.com > 614-370-0036 > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From Joel at BizBa6.com Wed Jul 1 10:49:33 2009 From: Joel at BizBa6.com (Joel D Canfield) Date: Wed, 1 Jul 2009 08:49:33 -0700 Subject: [thelist] Host recommendations for FFMpeg and VPS References: <2EFF77B44EDF4F19887DA62B45FDC922@DadPC> Message-ID: <72E9FAA171D63B48AAC707C72900E6B4021F92B8@ireland.spinhead.com> > I'm looking for recommendations for a good host for a streaming media > site. Amazon's S3 requires quite a bit of DIY, but it's cheap, solid, ubiquitous joel From randalrust at gmail.com Wed Jul 1 10:54:36 2009 From: randalrust at gmail.com (Randal Rust) Date: Wed, 1 Jul 2009 11:54:36 -0400 Subject: [thelist] Help Finding an HTML Email View in a CakePHP Application In-Reply-To: <20090701154505.GE21060@jenna.rjmolesa.homelinux.net> References: <20090701154505.GE21060@jenna.rjmolesa.homelinux.net> Message-ID: On Wed, Jul 1, 2009 at 11:45 AM, Jon Molesa wrote: > Try: > > ? ? ? ?app/views/elements/email/html > ? ? ? ?app/views/elements/email/txt Nope. No such directly exists. Guess what? It appears to be stored in the database. Ugh. -- Randal Rust R.Squared Communications www.r2communications.com 614-370-0036 From rjmolesa at consoltec.net Wed Jul 1 11:09:22 2009 From: rjmolesa at consoltec.net (Jon Molesa) Date: Wed, 1 Jul 2009 12:09:22 -0400 Subject: [thelist] Help Finding an HTML Email View in a CakePHP Application In-Reply-To: References: <20090701154505.GE21060@jenna.rjmolesa.homelinux.net> Message-ID: <20090701160922.GF21060@jenna.rjmolesa.homelinux.net> Probably so a user could change the layout of the email. *On Wed, Jul 01, 2009 at 11:54:36AM -0400 Randal Rust wrote: > Date: Wed, 1 Jul 2009 11:54:36 -0400 > From: Randal Rust > Subject: Re: [thelist] Help Finding an HTML Email View in a CakePHP > Application > To: "thelist at lists.evolt.org" > > On Wed, Jul 1, 2009 at 11:45 AM, Jon Molesa wrote: > > > Try: > > > > ? ? ? ?app/views/elements/email/html > > ? ? ? ?app/views/elements/email/txt > > Nope. No such directly exists. Guess what? It appears to be stored in > the database. Ugh. > > -- > Randal Rust > R.Squared Communications > www.r2communications.com > 614-370-0036 > -- > > * * Please support the community that supports you. * * > http://evolt.org/help_support_evolt/ > > For unsubscribe and other options, including the Tip Harvester > and archives of thelist go to: http://lists.evolt.org > Workers of the Web, evolt ! -- Jon Molesa rjmolesa at consoltec.net if you're bored or curious http://rjmolesa.com From Paul.Bennett at mch.govt.nz Wed Jul 1 14:58:47 2009 From: Paul.Bennett at mch.govt.nz (Paul Bennett) Date: Thu, 2 Jul 2009 07:58:47 +1200 Subject: [thelist] Help Finding an HTML Email View in a CakePHPApplication In-Reply-To: Message-ID: > Nope. No such directly exists. Guess what? It appears to be stored in > the database. Ugh. we don't need no stoopid M.V.C - just stick all your views in da DB!! Apologies, I'll go eat breakfast now... www.mch.govt.nz - www.teara.govt.nz - www.nzhistory.net.nz - www.nzlive.com The information contained in this email message does not necessarily reflect the views of the Ministry for Culture and Heritage and may contain information that is confidential or subject to legal privilege. If you are not the intended recipient and receive this email in error: please notify the Ministry for Culture and Heritage by return email or telephone (64 4 499 4229) and delete this email; you must not use, disclose, copy or distribute this message or the information in it. PLEASE CONSIDER THE ENVIRONMENT BEFORE YOU PRINT THIS EMAIL From sarahwbs at gmail.com Thu Jul 2 13:59:54 2009 From: sarahwbs at gmail.com (Sarah Adams) Date: Thu, 02 Jul 2009 15:59:54 -0300 Subject: [thelist] best scheme for translating UI strings? Message-ID: <4A4D03AA.7060906@gmail.com> I'm working on a site that will be multi-lingual - English, French, and German. I'm trying to decide the best way, in PHP, to handle the translation of strings in the UI (e.g. login button, instructions, copyright message, etc). Previously, when the site was in ColdFusion, I had a custom tag that I would call, passing it the 3 translations of each string, and returning the appropriate one. I'm considering doing something similar this time. The only problem I found with this is it hurt readability a bit having each string appear 3 times in the source code. Other options are: using variables to hold each string (I'm not fond of this one); and doing something like in Drupal, where I simply pass the English translation of a string to a t() function and it searches the database for the string and returns the appropriate translation. I think this would be more work, though, cause I'd have to build an interface to manage the translation of strings. Thoughts? -- sarah adams web developer & programmer http://sarah.designshift.com From fredthejonester at gmail.com Thu Jul 2 14:19:25 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 2 Jul 2009 22:19:25 +0300 Subject: [thelist] best scheme for translating UI strings? In-Reply-To: <4A4D03AA.7060906@gmail.com> References: <4A4D03AA.7060906@gmail.com> Message-ID: <177c0a10907021219v175c784ds9986c75b9d858f65@mail.gmail.com> > Other options are: using variables to hold each string (I'm not fond of > this one); and doing something like in Drupal, where I simply pass the > English translation of a string to a t() function and it searches the > database for the string and returns the appropriate translation. I think > this would be more work, though, cause I'd have to build an interface to > manage the translation of strings. Makes sense to me the t() idea. This is not hard work to build--should be quite simple I would think. My 2 cents From petite.abeille at gmail.com Thu Jul 2 14:35:04 2009 From: petite.abeille at gmail.com (Petite Abeille) Date: Thu, 2 Jul 2009 21:35:04 +0200 Subject: [thelist] best scheme for translating UI strings? In-Reply-To: <4A4D03AA.7060906@gmail.com> References: <4A4D03AA.7060906@gmail.com> Message-ID: <6E4D2E47-C78B-42CC-A389-CE3154688FEA@gmail.com> On Jul 2, 2009, at 8:59 PM, Sarah Adams wrote: > Thoughts? Perhaps worthwhile (re)reading: "Localizing Your Programs" -- Sean M. Burke, 1999 http://interglacial.com/~sburke/tpj/as_html/tpj13.html Cheers, -- PA. http://alt.textdrive.com/nanoki/ From handymanorama at gmail.com Fri Jul 3 02:31:18 2009 From: handymanorama at gmail.com (Simon Watkins) Date: Fri, 3 Jul 2009 08:31:18 +0100 Subject: [thelist] xml scema confusion Message-ID: Hi all, I am trying to create an xml schema to validate some markup I have. The markup (simplified) goes like: Somewhere 50.123456 -2.123456 Other Each location must have a placename, and can optionally have a latitude and longitude. Obviously if it has one it has to have the other. It seems logical to me to validate it against something like this, which has a choice of a sequence, or merely an element: However this gives me this error (twice!): "Multiple definition of element 'placename' causes the content model to become ambiguous. A content model must be formed such that during validation of an element information item sequence, the particle contained directly, indirectly or implicitly therein with which to attempt to validate each item in the sequence in turn can be uniquely determined without examining the content or attributes of that item, and without any information about the items in the remainder of the sequence." help? From bobm at dottedi.biz Fri Jul 3 09:25:24 2009 From: bobm at dottedi.biz (Bob Meetin) Date: Fri, 03 Jul 2009 08:25:24 -0600 Subject: [thelist] google checkout for non-profits Message-ID: <4A4E14D4.5000804@dottedi.biz> anyone know if google checkout for non-profits can be easily configured to be a single select drop down with donation amounts rather than a fee input box? i said non-profits but it probably would be the same for all. From mwarden at gmail.com Sat Jul 4 13:12:29 2009 From: mwarden at gmail.com (Matt Warden) Date: Sat, 4 Jul 2009 14:12:29 -0400 Subject: [thelist] xml scema confusion In-Reply-To: References: Message-ID: On Fri, Jul 3, 2009 at 3:31 AM, Simon Watkins wrote: > > > ? ? > ? ? ? ?Somewhere > ? ? ? ?50.123456 > ? ? ? ?-2.123456 > ? ? ... > ?Each location must have a placename, and can optionally have a latitude and > longitude. ?Obviously if it has one it has to have the other. It seems > logical to me to validate it against something like this, which has a choice > of a sequence, or merely an element: I'm guessing you aren't able to change the XML structure, right? The real problem is that the combination of lat+long is a single element of a location in this context, describing its point on the coordinate map. The XML above indicates they are two different elements, and that's why you're having trouble. Would suggest: location > placename location > coordinatepoint > latitude location > coordinatepoint > longitude Then, placename is required, coordinatepoint is optional, latitude and longitude are required. -- Matt Warden Cincinnati, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy. From dwayne.conyers at hp.com Sat Jul 4 13:41:37 2009 From: dwayne.conyers at hp.com (Conyers, Dwayne) Date: Sat, 4 Jul 2009 18:41:37 +0000 Subject: [thelist] xml scema confusion In-Reply-To: References: Message-ID: <769907F0D19EFA45BD6F04FC6E896D6D1EEE7BA33A@GVW0538EXC.americas.hpqcorp.net> I would recommend perusing http://www.service-architecture.com/xml/articles/geospatial_xml.html for more on constructing this type of XML. Hope that helps. -- The generation that took acid to escape reality is now taking antacid to deal with reality http://blog.dwacon.com