From martin at easyweb.co.uk Fri Sep 2 21:58:31 2005 From: martin at easyweb.co.uk (Martin Burns) Date: Fri, 2 Sep 2005 21:58:31 +0100 Subject: [DesDev] Re: [Content] Images missing in articles, internal anchors to be rewritten, etc In-Reply-To: <9247a66505090104171f47f70@mail.gmail.com> References: <9247a66505090104171f47f70@mail.gmail.com> Message-ID: <2056E6CA-9C3F-437B-BEB6-09A4672E28FE@easyweb.co.uk> On 1 Sep 2005, at 12:17, Stephane Deschamps wrote: > Hey all, > > aardvark's article misses its images, it seems. > > > Hm. Same here: > > > Anybody's got a backup? We have all the old files on tempest, but they need re-attaching to those articles with evolt-hosted attachments (not that many articles actually). > Also, some articles feature internal links, written in the old CFM > style ("#articlepath##anchor"). Has a script already taken care of > that and should I think there are only a few "bad anchors" left, or > should we think about automating something? Again, there aren't that many with anchors. They're fixable easily as long as you remember that all relative URLs are relative to http:// evolt.org/ so instead of just #anchor, you need to do /node/ 12345#anchor or /article-alias#anchor Cheers Martin From martin at easyweb.co.uk Fri Sep 2 22:17:29 2005 From: martin at easyweb.co.uk (Martin Burns) Date: Fri, 2 Sep 2005 22:17:29 +0100 Subject: [DesDev] Re: [Content] Code Guide FAQ In-Reply-To: <4316EFB0.2939.9B387B3@localhost> References: <4316EFB0.2939.9B387B3@localhost> Message-ID: <0A8EE10E-FBD3-4618-9069-4F3949F461F5@easyweb.co.uk> On 1 Sep 2005, at 17:10, aardvark wrote: > On 1 Sep 2005 at 16:00, Martin Burns wrote: > > >> I've updated the code guide, specifically to address: >> >> 1. new site is xHTML Trans, not HTML 4.01 >> > > in retrospect, we should link to the spec... i still don't know how > to edit an article, nor do i think i have the privs... i sent a note > about this, but i believe it got eaten... You should always be able to edit your own article, and I fixed that you didn't have content admin rights. >> 2. Code block handling is different on the new site, which also >> affects the code >> samples in the guide... >> > > looking at this, i think the style should match the
 in
> typeface styling... for example, color...

possibly, although the way we're going is towards automatic syntax  
colouring in code. Already there for PHP from a drupal module, and  
there's a different module using the same theory to auto-colour  
pretty much all languages:
http://islands.easyweb.co.uk/~martin/drupal/?q=testing-vimcolo-u-r

> also, i spell color without the 'u,' although i do use other british-
> isms in my spelling...

Oops my bad.

>> 3. I also removed   and 
from the list of acceptable >> tags which shouldn't >> really have been in there in the 1st place >> > > they were allowed but we stated what was preferred... but do edit for > new standards.... OK. Historically, we've *always* removed them (ok, perhaps not
) from articles. >> At some point, i'd like to add some info on how the content >> filters work, but >> I have to go drive home for 4 hours rn. >> > > yeah, i'd be curious to read that... OK, there are currently 4 different filters. 1) Filtered HTML. Auto-adds

for double line breaks and
for single ones. Allows a subset of HTML tags currently set to:

         
    1. All other tags are stripped. Javascript event attributes are *always* stripped HTML style attributes are stripped 2) Evolt permitted HTML Allows a subset of HTML tags, set to:


   
    1. All other tags are stripped. Javascript event attributes are *always* stripped HTML style attributes are not stripped (but arguably should be) PHP code samples enclosed in and *not* or
       will be nicely colour coded (although irritatingly, using  
       type tags - the other module version  
      uses semantically neutral ).   
      enclosed content goes through the codefilter module (that also  
      provides the colour coding for PHP) and escapes entities.
      
       enclosed content doesn't
       separated as a block is displayed as a block, whereas  
      inline within text doesn't.
      
      
      3) Full HTML
      Only available to content admins & godmins
      HTML tags are not stripped
      Javascript event attributes are *always* stripped (except for godmins  
      iirc)
      HTML style attributes are not stripped
      Code content treated as above.
      
      4) PHP Code
      Only available to godmins
      HTML tags are not stripped
      Javascript event attributes are not stripped
      HTML style attributes are not stripped
      Code posted as  and 
       is treated as above
      PHP code posted as  is *executed*
      
      
      Note these are rendering transforms to the content in the db - the  
      content itself isn't changed.
      
      >> Anyway, see the result at
      >> http://evolt.org/guide_code
      >>
      >
      > other stuff...
      >
      > - how do i get to the SE friendly version of the URL?
      
      You mean as above (which is what it was on the old site)?
      It's linked that way from the FAQ category:
      http://evolt.org/faq
      
      
      > - an oversight in the last system, all pages, regardless of what URL
      > is used to get there, should issue a 301/2 redirect to the final
      > URL... this way a page won't split its pagerank in the SEs with
      > alternate addresses of itself...
      >
      > - i don't care for the  syles... the h3/h4 look the same other
      > than color (a big no-no, and an odd departure), the h5 appears
      > bigger, and the h6 seems smaller than the copy... i have some
      > alternate style ideas, but i really have to run out to a meeting...
      >
      > - which list should i really be sending this to now? desdev? content?
      > devnull?
      
      desdev if you want it discussing, but you could stick it on the  
      issues tracker:
      http://evolt.org/issues
      so it doesn't get forgotten (which we're historically *very* good at)
      
      Cheers
      Martin
      From martin at easyweb.co.uk  Fri Sep  2 22:23:20 2005
      From: martin at easyweb.co.uk (Martin Burns)
      Date: Fri, 2 Sep 2005 22:23:20 +0100
      Subject: [DesDev] Re: [Content] Feedback: PHP Database
      In-Reply-To: <9247a66505083006442ae737a9@mail.gmail.com>
      References: 
      	<9247a66505083006442ae737a9@mail.gmail.com>
      Message-ID: <285A0C84-A36D-4F9D-A939-AD51D872FD8B@easyweb.co.uk>
      
      
      On 30 Aug 2005, at 14:44, Stephane Deschamps wrote:
      
      > How do we reply now? Do we reply directly (reply-to-all to CC content)
      > or is there something I missed, like online contact management of some
      > kind?
      
      Not that I know of, so that's probably the best way to handle it.
      
      If there's a drupal module that does this better, we'll look at it 
      [1]. If not, then there *should* be and it strikes me as a good thing  
      that we could give back to the wider community.
      
      Cheers
      Martin
      [1] which means installing it on teo 1st!
      
      --
      
       > Spammers: Send me email -> yumyum@easyweb.co.uk to train my filter
       > http://www.nuclearelephant.com/projects/dspam/
      
      
      From morgan at morgankelsey.com  Sat Sep  3 15:19:32 2005
      From: morgan at morgankelsey.com (M Kelsey)
      Date: Sat, 3 Sep 2005 10:19:32 -0400
      Subject: [DesDev] Fw: zip files are not there
      Message-ID: <009401c5b092$80fb8c10$6f01a8c0@BOPPADEEDEE>
      
      
      ----- Original Message -----=20
      From: Elizabeth Holder=20
      To: info@morgankelsey.com=20
      Sent: Wednesday, August 31, 2005 3:38 PM
      Subject: zip files are not there
      
      
      when you go to: http://evolt.org/files/21068/rotating_gallery.zip the =
      zip file is not there.=20
      
      is it still possible to see this code?From stephane.deschamps at gmail.com  Tue Sep 27 09:52:02 2005
      From: stephane.deschamps at gmail.com (Stephane Deschamps)
      Date: Tue, 27 Sep 2005 10:52:02 +0200
      Subject: [DesDev] Re: [nota-bene.org] CONTACT (27/09/2005)
      In-Reply-To: <43389987.3188f343.48ab.ffff94d3SMTPIN_ADDED@mx.gmail.com>
      References: <43389987.3188f343.48ab.ffff94d3SMTPIN_ADDED@mx.gmail.com>
      Message-ID: <9247a66505092701521d7023b2@mail.gmail.com>
      
      Hi Raymond, thanks for reporting, I'm forwarding it to our two lists,
      desdev (design and development) and content (content management team).
      I'm way out of my league when it comes to drupal...
      
      
      On 9/27/05, raymond@squashgame.info  wrote:
      > Message-Id: 
      > Sender: "www@apinc.org" 
      > Date: Tue, 27 Sep 2005 02:59:48 +0200
      > X-auth-smtp-user:
      > X-abuse-contact: apinc-admins@apinc.org
      >
      >
      > Message de : raystrach
      > Adresse mail : raymond@squashgame.info
      > Texte :
      > hi
      >
      >
      >
      > sorry to trouble you
      >
      >
      >
      > just replied to your post on urls at evolt
      >
      >
      >
      > got server errors when trying to post my reply (below)
      >
      >
      >
      > what i did not relalise was that even though there were errors, it still =
      processed the reply - each time i tried
      >
      >
      >
      > i also tried to send a fom lik this to them and got another server error =
      - though you might have closer contact
      >
      >
      >
      > would be good to clean up my multiple posts and fix any errors the site m=
      ay have
      >
      >
      >
      > error:
      >
      > user error: Table 'genghis.spam_surbl_cctlds' doesn't exist
      >
      > query: SELECT ccid FROM spam_surbl_cctlds WHERE cc =3D 'squashgame.info' =
      in /store/host/www.evolt.org/includes/database.mysql.inc on line 66.
      >
      >
      >
      > warning: Cannot modify header information - headers already sent by (outp=
      ut started at /store/host/www.evolt.org/includes/common.inc:384) in /store/=
      host/www.evolt.org/includes/common.inc on line 192.
      >
      >