ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Smont <smont@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] фильтр/скрипт для обработки html файлов
Date: Tue, 5 Aug 2008 01:02:11 +0400
Message-ID: <200808050102.11336.smont@mail.ru> (raw)
In-Reply-To: <e9913ae20808041335s3fb2fb51m48180b95f84a4a54@mail.gmail.com>

В сообщении от Tuesday 05 August 2008 00:35:02 Mikhail Kuligin написал(а):
> Здравствуйте,
>
> подскажите есть ли софт или bash скрипты (хочется bash т.к. я перл не
> знаю) для замены избыточных тегов в html документах
> которые создаются после действия пользователя "Сохранить файл как html
> страницу" в небезизвестном редакторе?
> пример того, что хотелось бы заменять на стандартный тег "<p>":
> "<P LANG="ru-RU" CLASS="western" ALIGN=JUSTIFY STYLE="margin-left:
> 0.05cm; margin-right: 0.02cm; text-indent: 0.46cm; margin-bottom: 0cm;
> background: #ffffff; line-height: 0.42cm">"
> причём теги почти все разные и замена в данном случае неэффективна
> да и файлов больше сотни ...
вариант на python написанный сотрудником m$ для собственного пользования.
http://blogs.technet.com/eldar/archive/2008/06/03/3065237.aspx#comments
За отсутвием надобности мной еще не использовался, от того дать отзыв и/или 
рекомендовать к использованию не могу.Но в записную книжку занёс.
Удачи!
Smont

  reply	other threads:[~2008-08-04 21:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-04 20:35 Mikhail Kuligin
2008-08-04 21:02 ` Smont [this message]
2008-08-05  8:19   ` Mikhail Kuligin
2008-08-05  6:51   ` Mikhail Kuligin
2008-08-05 12:12       ` Mikhail Kuligin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808050102.11336.smont@mail.ru \
    --to=smont@mail.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git