Save html output generated by portal

Hi,
How can I save html output from portal
with UTL_FILE or something else?
I would like to save html output generated from portal pages to a static html page
Thanks in advance.
Anton

I may misunderstand your question, but how about File > Save from your browser?
Or do you want to automate this process? There are all kinds of tools out there that you can use; wget comes to my mind right now.
Peter

Similar Messages

  • Custom html elements in the portal pages output rendering.

    Hi,
    This is regarding branding the site. Since we have to use common css for all web applications, the html output rendered by the AquaLogic doesn't give the required style.
    AquaLogic generates html table elements for pages, columns, headers, footer etc. But we need <div> tags instead of 'table' & 'td' tags. If this is not possible 'table' EMBEDDED inside 'div' will also help us.
    See for example DIV tag is placed (see 2nd line in given html) around the columns
    <br><br>
    (td class="columnOne") -<!--Begin Portlet Column 0-->
    <br>
    (DIV ID="columnNarrowWide") -
    <br>
    (table class="portletBase" id="pt-portlet-252")
    ===========================================
    We tried to implement solution using Dynamic Discovery. But we couldn't identify how to do this. Can somone let me know the best possible way to do this ASAP.
    <br><br>
    Thanks,<br>
    Rajesh.Y<br>
    609-282-0770<br>
    [email protected]
    Edited by rajesh_yg at 03/22/2007 12:06 PM

    Some of your post was garbled due to HTML-escaping issues, but I think what you're asking is for a DIV-based layout rather than that TABLE-based layout for MyPages and Communities.
    One of our customers asked us for exactly the same thing and I'm working with an on-site designer to come up with something DIV-based. If it's possible, it's going to require extensive customizations to MyPortalContentView.java or MyPortalContentView.cs (if you're on .net). Using dynamic discovery (more specifically, View Replacement) is the way to go, but this task is a bit daunting, even for me (and I've been working with Plum/ALUI for almost ten years).
    If I can get something working, I promise to post a solution on [url http://dev2dev.bea.com/blog/bucchere]my dev2dev blog.
    In the meantime, if you want to attempt this yourself, edoc has a [url http://edocs.bea.com/alui/devdoc/docs60/Customizing_the_Portal_UI/Using_View_Replacement/PlumtreeDevDoc_Customizing_View_Intro.htm]guide to View Replacement that walks you through the process for both Java and .NET portals.
    Chris Bucchere | bdg | [email protected] | http://www.thebdgway.com

  • Error in generating HTML output using Central Output Pro Server 5.5

    I am getting the following error while generating HTML output using the Output Pro Server. A new printer was created with the Physical Device as "HTML Template Generation - [html]" and added to the Job.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](1801) The printer name is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3015]Error, unable to open printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3008]Error, unable to get info about device 'PAYMENTADVICEHTM.html' attached to port '<nil>'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](183) Cannot create a file when that file already exists.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [2]Error opening output device/file 'PAYMENTADVICEHTM.html'.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [400](6) The handle is invalid.<br /><br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [3018]Error ending page on printer.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfmerge: [210]Nothing was printed.<br />2004/05/07 20:09:53 D:\Program Files\Adobe\Central\Bin\jfserver.exe: [314]Agent exit message: [3018]Error ending page on printer.

    If I were to guess, I'd guess that your filename is invalid. How about removing all special characters (spaces, brackets, etc.) from the device name. Also, make sure your form was compiled for HTML.
    I haven't actually used the HTML driver, but these are general things you should do if you have trouble with any Central driver.
    Regards,
    Rob McDougall
    Indigo Pacific

  • Save report output automatically into html

    Hi Gurus!
    I have few reports that give a simple list output as result.
    Now I want to put an option in the output , an option that will be
      a save buttom which when clicked will automatically save the output
    into an html file and archive it to a particular folder.
    I would like to know how to automatically archive the report output
    when this save buttom is clicked to a folder.
    DO we do it after we have printed the report in the output
    and how do we go abot doing this .
    Regards
    Sumit

    Hi,
    After running a report, call this function module WWW_LIST_TO_HTML
    to convert the list output to HTML.
    Best Regards,
    Krishna

  • Capture generated html output from jsf page in bean

    Hi Member,
    I have need to capture the html output coming form jsf page. means aftr rendering what html is displayed before user, we have need to get it in programm.
    like if we use:
    <h:dataTable......>
    <h:colum>heloo</h:column>
    </h:dataTable>
    then their ouput will be:
    <table>
    <tr><td>heloo</td></tr>
    </table>
    and i have need of these complete line with <table> ......</table>
    Please help me...
    Thanks
    Shailendra Kumar

    Thnx for quick reply.
    But i want to capture it in render response phase. May it will be possible??? Is render response phase is responsible for generation of HTML format?? If yes then how can we capture output coming from this phase.
    URLConnection if fine but it still hit server once. I don't want that. I want to store page html format during its view preparation for html.
    Thanks
    Shailendra Kumar

  • Can SQL Developer be used for Oracle Support "HTML Output" Diag Scripts ?

    Hi All,
    Oracle Support has asked me to run a diagnostic script (OTL_Diag.sql for anyone familar with the script) that produces output in HTML format using SQL*Plus to help troubleshoot an OTL problem we are having. Unfortunately I don't have SQL*Plus installed and my company is not on board with me installing it because of the SQL*NET connection required. Instead I have access to SQL Developer 3.1.0.7. While this works fine for most situations I'm having problems generating the required .html output file that Support needs.
    I've tried runing the OTL_Diag.sql a couple of ways using SQL Developer. First, I opened the file from SQL Developer and using the Run Script functionality (F5) I executed the code that way. This method did give me an opportunity to input the necessary parms and it did create the 'start' of the HTML file on my (Windows) file system, but the script seemed to abort with a java error that indicated some sort of format error (sorry, I'm not a java person so I can't provide any more info, but I'll be glad to get the exact error message if anyone thinks that will help solve my issue).
    My second approach was to open a SQL Window where I typed in @C:\OTL_Diag.sql without quotes. This approach also gave me the opportunity to enter the necessary input parms and it seemed to end normally. It also created the 'start' of the diaganostic output file on my Windows file system, but it 'completed' before any of the 'real' diaganostic output was written to the .html file.
    The Metalink note clearly specifies that the OTL_Diag.sql script is to be run with SQL*Plus 10.2 or above so I don't think I can complain too loudly to Oracle about this...but given that I don't have access to this product (and it is useless for me to again ask to install it) I am hoping someone out there has some ideas or insight as to how I can use SQL Developer to execute this diag script in a manner that will produce the required .html output file.
    Thanks in advance to anyone taking time to read my post !!
    Jeff
    Edited by: user13111861 on Jul 10, 2012 6:43 PM
    Edited by: user13111861 on Jul 10, 2012 7:51 PM

    >
    As a result, at this point in time my only available tool to run the OTL_Diag.sql script (provided by Oracle Support) is SQL Developer
    >
    Then you will have to edit the script, break it into pieces, execute each piece manually and save the output to feed into the next piece as required based on what the script is actually doing. Don't post the script or contents as that will likely violate your support agreement.
    As I already mentioned the script may be using syntax and/or commands that are simply not supported by sql*developer. One likely area is the script may be producing intermediate output scripts that are then processed by a later portion of the script. If that is the case then my suggestion to execute the pieces manually should work but you will need to do some trial-and-error to see.
    Even if you appear to be successful you will still have an issue when you communicate the results of your 'test' to Oracle support and they determine you didn't follow their instructions to use the proper tool.
    Sounds like your management is either ignorant or incompetent so I suggest you cover yourself by documentating the instructions from Oracle support and the direct orders you were given to disregard those instructions. No need to discuss that issue further but clearly there are resources available somewhere in the org that has the proper privileges or they wouldn't be able to maintain and support the database. If they want to pay for support they should heed their advice. Nuff said.

  • Problem with portlets with XSLT generating dynamic portal compatible links

    Hi,
    We're using XSLT to transform XML data to HTML in a portlet. The problem is that
    the XML contains headlines and we need to create links to the complete article,
    which has to be displayed in the same portlet. How do I create a portal comaptible
    link with XSLT? In the JSP you can use the netui tag library like:
    <netui:anchor action="..">
    link
    <netui:parameter name="id" value="{id}"/>
    </netui:anchor>
    but how can I achieve this with XSLT? We tried generating the xsl with a jsp,
    but this doesn't work since the data entered in the value attribute of the netui:parameter
    tag will be encoded causing the XSL transformer to fail.
    Is there an easy solution to this? Or can XSLT only be used with very simple content?
    Ard

    We're trying to display some news headlines, clicking a headline has to invoke
    an action to display the complete article in the same portlet (using pageflow).
    When displaying the articles we use XSLT like (this is a JSP generating XSLT):
    <?xml version="1.0"?>
    <%@ page contentType="text/x-xslt"%>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>
    <xsl:template match="items">
    <xsl:apply-templates select="item"/>
    </xsl:template>
    <xsl:template match="item">
    <nobr>
    <%-- ###### Here we need an action link, with the title as a request parameter
    ###### --%>
    <xsl:value-of select="@title"/>
    </nobr>
    </xsl:template>
    </xsl:stylesheet>
    The XML is like:
    <items>
    <item title="some title"/>
    <item title="some other title"/>
    </items>
    We need to generate a portal compatible link which invokes an action (show_details)
    with the title of the article as a request parameter.
    I know how to do this in a JSP, but since the data is in XML we like to do this
    with XSLT.
    Can you help?
    Subbu Allamaraju <subbuATBeaDOTCom> wrote:
    Could you elaborate (perhaps with some xsl snippet generated by jsp)
    the
    failures you were getting with xslt?
    Subbu
    Ard van der Scheer wrote:
    Hi,
    We're using XSLT to transform XML data to HTML in a portlet. The problemis that
    the XML contains headlines and we need to create links to the completearticle,
    which has to be displayed in the same portlet. How do I create a portalcomaptible
    link with XSLT? In the JSP you can use the netui tag library like:
    <netui:anchor action="..">
    link
    <netui:parameter name="id" value="{id}"/>
    </netui:anchor>
    but how can I achieve this with XSLT? We tried generating the xsl witha jsp,
    but this doesn't work since the data entered in the value attributeof the netui:parameter
    tag will be encoded causing the XSL transformer to fail.
    Is there an easy solution to this? Or can XSLT only be used with verysimple content?
    Ard

  • HTML File generating  -Problem

    Hi Guys,
    I would like to generate html file the below procedure . Any help would be appreciated . Please help me
    declare
    type empdtlrec is record (empno number(4),
    ename varchar2(20),
    deptno number(2));
    empdtl empdtlrec;
    begin
    execute immediate 'select empno, ename, deptno ' ||'from emp where empno=(select max(deptno) from emp)'
    into empdtl;
    dbms_output.put_line('empno ' || empdtl.empno );
    dbms_output.put_line('ename ' || empdtl.ename );
    dbms_output.put_line('deptno ' ||empdtl.deptno );
    end;
    Regards,
    Orabalu

    Hello Orabalu,
    To generate an html output you can try following sql (save it as emp.sql) and modify to your needs table and column name and run it thru sqlplus session. Hope this helps
    set echo off;
    SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
    HEAD "<TITLE>Employee Report</TITLE> -
    <STYLE type='text/css'> -
    <!-- BODY {background: #FFFFC6} --> -
    </STYLE>" -
    BODY "TEXT='#FF00Ff'" -
    TABLE "WIDTH='50%' BORDER='5'"
    COLUMN EMPID HEADING 'Employee ID' ENTMAP OFF
    COLUMN FNAME HEADING 'Employee Name'
    COLUMN LNAME HEADING 'Department No' ENTMAP OFF
    SPOOL report.html
    SELECT empno, ename, deptno
    FROM emp
    WHERE empno = (SELECT MAX (deptno)
                   FROM emp);
    SPOOL OFF;Regards
    Edited by: OrionNet on Jan 17, 2009 10:07 PM

  • How to Save JSP output

    Hi all,
    I am new to JSP and I am developing simple application in NetBeans. I got the proper output of the application now I want a button or a link, either would be fine, to save my output in local machine in MS word document or in pdf. So any hint how to archive this using JSP or servlet. Please help me out in this situation. Thanks in advanced.

    Uh, just in the classpath :) Netbeans call it the build path. But you know, in a standard webapplication structure, the WEB-INF/lib folder, which is by default covered by the webapp's classpath, is the place for 3rd party webapp related JAR files.
    To hook on evnafets' reply, yes, once you have got the InputStream containing the JSP content, you've the freedom to do anything with it. Parsing into a HTML DOM tree to extract the data from it, converting HTML to PDF using for example iText, generating MS Word document using for example Apache POI.

  • Reports 3/6i HTML Output Print problem

    Hi!
    I am using Reports 3 to generate HTML output but when I print this HTML output, it does not break at Oracle Reports Page break. It looks like the browser takes its default settings for margins. I am using IE 5.5.
    I tried the following options
    1. Using { page-break-after: always } option in 'After Page Value' of Report Escapes property (Report)
    2. Changing margin settings of browser, but was not able to change them to 0.
    I want to print the HTML report with page breaks where Oracle marks as Page Break.
    If possible, Please do write me at [email protected]
    Thanks,
    Praveen Kumar

    Praveen,
    When you generate a HTML page in Reports, you are generating a single page document that is then intepretted by the browser. You are correct that when you then print this page from the browser then it will not necessarily break at the same point as the reports page breaks.
    The only way to guarantee that you will get the same breaks is to use a different format. Most commonly people use PDF format when they want the printed page to match exactly what's on the screen. Alternatively you could include a link on the HTML rendition of the report that resubmits the report to the server but instructs the server to print the report directly.
    Hope this helps,
    Danny

  • Tabs in HTML output

    We have a very large RoboHelp for Word project (24 source
    files, 2500 topics). Do to Vista issues we are converting from
    WinHelp to HTML output.
    In the Word source files, allignment (within lines) is
    controlled by left Tabs. The WinHlep output is fine. It appears the
    the tabs (as well as multiple spaces) are ignored in the
    HTMLoutput. A review of the HTML spurce code reveals that tabs are
    coverted to &nbsp on compilation.
    What are my options?

    > I do suppose there is always the option of continuing to
    author using RoboHelp for Word. After all, you may use this
    > to produce HTML Help and WebHelp outputs too. But if you
    are creating HTML outputs you may as well be using a
    > tool created to work with such files, no?
    With all due respect, Rick (and much is indeed due in the
    right contexts) this doesn't help the original poster. The tabs
    issue is as you point out a quirk of the HTML world, and the only
    benefit of moving to an HTML editor in that respect is to make it
    apparent up front that tabs can't be handled sensibly. As you say,
    get used to it - if you are using HTML-based output, you can't line
    things up with tabs. You can use tables, but that's a major editing
    operation with 2500 topics whatever tool you are using to write the
    help. I suppose the dignity of the problem depends on how important
    the lining up is in the final output.
    I may be reactionary, but I stick to Robohelp for Word even
    when I am generating Webhelp format. Sure, there are drawbacks, but
    IMHO Word offers a vastly superior authoring environment to
    one-topic-at-a-time HTML editors. The HTML editor might be a tool
    created to work with HTML files, but that doesn't automatically
    mean it's a good tool for the job.

  • Page info in HTML output

    Hi,
    Is it possible to show the page information (page number, repeating header and footer) in the HTML output?
    I created a RTF template included page number,header and footer, which are displayed correctly in PDF formatted output.(Header and footer repeating in each page.) When generating HTML formatted output, the page number will always be 1 and header/footer are displayed just once. It seems that HTML formatted output is just one page.
    Is it possible for HTML formatted output to show the same content(each page number, repeating header and footer) as PDF formatted output?
    (XML publisher version is 5.5.)
    Thanks in advance.
    Best regards,
    Zhxiang.
    Message was edited by:
    zhxiangxie
    Message was edited by:
    zhxiangxie

    HTML has only one page output.
    You probably have to define a number of lines for one page and figure out when this number is reached to "send" a page number to the report.

  • Is text mining operations on document binary and its HTML output is simiar?

    Does the text mining operations differ when I perform on document binary or its HTML output? Do you think the results would be the same, if i performed clustering operation on the HTML or text output of a binary document instead of its binary file.
    Please comment!

    I assume you are trying to put an anchor tag in a text item, that points to a document stored elsewhere in the Portal repository.
    Use a direct access URL (search the online help for info on these) to construct the link to the document. You can use a relative URL by leaving out the "http://server.domain:port" part of the URL - e.g. {a href="/pls/portal30/docs/FOLDER/MYROOTFOLDER/MYSUBFOLDER/MyDocument.DOC"} - I'm using {} here instead of <> because real tags get messed up in these forum messages.
    The Portal FAQ explains how to use httpd.conf to define a redirect directive.
    Regards,
    Jerry
    null

  • How to get multiple html output file  from an xml document via xslt?

    Hi,
    the purpose is to generate multiple html output file from one xml file
    depending on special tag.
    exp: i have an xml file which contains sevreral articles so how to get each article section in an independant html file
    Thanks for help

    Not a standard feature of XSLT. But Michael Kay's XSLT implementation, SAXON, provides that as an extension. Get it here:
    http://saxon.sourceforge.net/

  • Incomplete hyperlink in PDF output . HTML output works fine

    We have a 10g report that drills down to another report. The hyperlink to access the drill down report is very long (1080 chars).
    When generating HTML output, the url is complete and link works fine. When generating PDF output, link gets cut out and it does not work... incomplete link.
    Any ideas why this can be happening?

    hello,
    you might try to use the protocol prefix file:
    e.g. file:///d|/myfiles/test.xsl
    relative urls like d:/... are interpreted differently by
    browsers or acrobat reader.
    regards,
    the oracle reports team

Maybe you are looking for