search for: html_output

Displaying 6 results from an estimated 6 matches for "html_output".

2009 Sep 30
3
How to search and replace all urls on a HTML string using RUBY gsub
...''http://localhost/ imagem.jpg''></a>"; pattern = /<a href=[\''"]?([^\''"> ]*)[\''"]?[^>]*>(.*?)<\/a>/mo replace = "<a href=''http://mysite.com/redirect/#{$1}''>#{$2}</a>" html_output = html.gsub(pattern,replace) The REGEX pattern is apparently working but I ''m not getting the values of $1 and $2 . When I use \\1 and \\2 it works . Thing is ... I need to encode $1 variable like this replace = "<a href=''http://mysite.com/redirect/#{Base64.encode64 ($1)}...
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
...HTML code as input and ouputs a PDF file. Here is what I''m doing: command = ''"C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe" - - -q'' IO.popen(command, ''r+'') do |f| # Writing the html previously rendered in a string f.write(html_output) f.close_write # Reading the ouput and closing pdf = f.readlines f.close # Returning the pdf data pdf end This code results in a corrupted PDF file. I checked the PDF itself which shows some differences with a valid PDF file, like some missing closing tag...
2011 Aug 14
6
[PATCH 1/6] out-of-tree build: fix documentation generation
...r)/podwrapper.sh --man $@ $< # XXX Can automake do this properly? install-data-hook: diff --git a/podwrapper.sh.in b/podwrapper.sh.in index c883c6a..9accaf9 100755 --- a/podwrapper.sh.in +++ b/podwrapper.sh.in @@ -180,6 +180,7 @@ if [ -n "$text_output" ]; then fi if [ -n "$html_output" ]; then + mkdir -p "$abs_top_builddir/html" "$POD2HTML" \ --css "pod.css" --htmldir "$abs_top_builddir/html" \ < $tmpdir/full.pod > "$html_output".tmp diff --git a/python/examples/Makefile.am b/python/examples/M...
2013 Jan 09
4
[PATCH] doc: fix out-of-tree build
It seems the mail you are referring to never made the list: it's not in the archives and not in my mailbox. Take a look here: http://lists.xiph.org/pipermail/flac-dev/2012-December/thread.html It's probably still waiting for moderation. On 07-01-13 17:07, Olivier BLIN wrote: > On 29/12/2012 00:06, Olivier Blin wrote: >> When building outside of the source tree, the Doxyfile
2012 Dec 28
0
[PATCH] doc: fix out-of-tree build
...------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify...
2012 Dec 28
3
[PATCH] doc: fix out-of-tree build
...------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify...