Using the 2.5 API to download a DITA publication

Is there an API in the 2.5 version that allows the downloading of a publication in DITA format?  I need to user dot.net for this rather than PowerShell.

Thanks.

Parents
  • Hi Rich

    Yes there is. To give the best example, all data you see in Publication Manager is handled using the same public API that you can and should use.

    To be complete I have to mention that there is no 'single' API call that achieves what you describe here. This theoretically can work as demo-ware but since we have enterprise customers with massive amounts of data that API would eventually fail for some data size.

    Based on your one liner... what about using the Publish(Service) system even through some code automation... In essence you trigger a publish operation (which handles, versions, languages, resolutions, etc) to the "DITA XML" OutputFormat, it can handle the enterprise sizes and returns you file-system DITA... which you can download through automation as a ZIP file from the PublicationOutput where you triggered it from.

    Best wishes,
    Dave

    PS: The primary goal of ISHRemote is to be a PowerShell module. On the side it was discussed and still is a great example of a light-weight client library. What I mean here is that ISHRemote in essence is a C# DLL, which theoretically can work for you.
Reply
  • Hi Rich

    Yes there is. To give the best example, all data you see in Publication Manager is handled using the same public API that you can and should use.

    To be complete I have to mention that there is no 'single' API call that achieves what you describe here. This theoretically can work as demo-ware but since we have enterprise customers with massive amounts of data that API would eventually fail for some data size.

    Based on your one liner... what about using the Publish(Service) system even through some code automation... In essence you trigger a publish operation (which handles, versions, languages, resolutions, etc) to the "DITA XML" OutputFormat, it can handle the enterprise sizes and returns you file-system DITA... which you can download through automation as a ZIP file from the PublicationOutput where you triggered it from.

    Best wishes,
    Dave

    PS: The primary goal of ISHRemote is to be a PowerShell module. On the side it was discussed and still is a great example of a light-weight client library. What I mean here is that ISHRemote in essence is a C# DLL, which theoretically can work for you.
Children