[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Overføre fra gammel til ny sslug-side



Alt på den gamle side er så vidt jeg kan se en eller anden form for
html4. 
Den nye påstår at den er xhtml
Der er derfor nogen ting man skal være opmærksomme på når man flytter
ting til ny side.

<br> skal rettes til <br />
<hr> skal rettes til <hr />
<img src="..." ...> skal rettes til <img src="..." ... /> 
og andre tags der ikke har en "lukkepartner" skal lukkes på den måde.

Tjek eventuelt op mod w3cs validator.

i vim kan disse tre i hvert fald hjælpe med konverteringen:

:%s/<img\([^>]*\)>/<img\1 \/>/  
:%s/<hr>/<hr \/>/g
:%s/<br>/<br \/>/g

-- 
Sune


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 19:03 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *