File: test.conf

package info (click to toggle)
txt2tags 3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,160 kB
  • sloc: python: 3,002; sh: 45; makefile: 35
file content (8 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
% Filters to identify and reformat the desired data
%!postproc(html): '^<META.*charset=([^"]*)">'	'conf: \1'
%!postproc(html): '^<H1>(.*)</H1>'		'h1: \1'
%!postproc(html): '^<H2>(.*)</H2>'		'h2: \1'
%!postproc(html): '^<H3>(.*)</H3>'		'h3: \1'
%!postproc(html): '^(Text\.)'			'body: \1'
% Clear all the irrelevant lines
%!postproc(html): '^<.*'			''