You are here: Re: Please help for building my site with menus and external css « HTML « IT news, forums, messages
Re: Please help for building my site with menus and external css

Posted by Roy Schestowitz on 11/06/52 11:46

__/ [ Toby Inkster ] on Saturday 29 April 2006 17:22 \__

> Roy Schestowitz wrote:
>
>> sed 's/<head>/<head><link rel="stylesheet"
>> href="/styles/yourstyle.css" type="text/css" />/i;'
>
> This will work?! Shoudn't you be escaping some of those slashes?

Oops. You're right. I added some slashes without testing, let alone thinking.
That 'script', by the way, is a derivative of something that /you/ once
wrote in an answer to my question. I have used this for the processing of
thousands of pages over the past year or so, mainly after LaTeX->HTML
conversions. Thanks for that.

Best wishes,

Roy

--
Roy S. Schestowitz | Useless fact: There are five regular polyhedra
http://Schestowitz.com | SuSE Linux ¦ PGP-Key: 0x74572E8E
7:35am up 2 days 14:40, 12 users, load average: 0.70, 1.04, 0.82
http://iuron.com - Open Source knowledge engine project

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация