RSS/XML Link Doesn't Allow Multiple Adobe PDF Open Parameters

Posted on 2006-11-02
Medium Priority
Last Modified: 2012-06-21

I have an RSS feed (xml file) that goes to a PDF of a magazine. I would like individual links to go to respective pages of the pdf for certain articles, and I am trying to use Adobe's PDF Open Parameters to do this.


Bascially, I want each link to go to open the PDF, go to a certain page, and set the Zoom to 75%. Unfortunately, if I try to combine multiple parameters in a link such as:

<link>http://www.example.org/sample.pdf#page=3&zoom=75</link> (which would work fine as an href or typed into the browser), it errors out when validating the xml. (Says it expects a semicolor ; delimiter???).

If I reduce that to


It validates fine. I don't understand... Do I need to somehow escape the & character???

Here is the example of the whole xml file:

<?xml version="1.0"?>
<rss version="2.0">
<title>Sample Magazine</title>
<description>I wish this would work</description>
<copyright>Copyright 2006 The I-Am-Stupid Society. All rights reserved.</copyright>

<title>Sample Logo</title>
<lastBuildDate>Mon, 25 Sep 2006 09:00:00 EST</lastBuildDate>

<title>Article Number One</title>
<guid isPermaLink="true">http://www.example.org/sample.pdf#page=1</guid>
<description>How do I become smarter?</description>
<pubDate>Mon, 25 Sep 2006 09:00:00 EST</pubDate>

<title>Article Number Two</title>
<guid isPermaLink="true">http://www.example.org/sample.pdf#page=12</guid>
<description>Why Am I Not Getting This?</description>
<pubDate>Mon, 25 Sep 2006 09:00:00 EST</pubDate>

<title>Article Number Three</title>
<guid isPermaLink="true">http://www.example.org/sample.pdf#page=37</guid>
<description>Will Some Kind Soul Be Able To Help Me?</description>
<pubDate>Mon, 25 Sep 2006 09:00:00 EST</pubDate>


Any insight would be greatly appreciated.
Question by:BongSoo
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 11

Accepted Solution

kmartin7 earned 1500 total points
ID: 17860619
That is because the & delimiter is illegal in XML. Make it &amp;, and it should work.
LVL 11

Expert Comment

ID: 17860622
So in your example, change it to the following:

LVL 16

Author Comment

ID: 17861316
That works with making it validate ok, but then it doesn't pass the zoom=75 properly through the URL. It just gets ignored...
LVL 11

Expert Comment

ID: 17861369
How are you displaying the RSS Feed? Is it via XSL or a feed reader?
LVL 16

Author Comment

ID: 17861418
Now its not even working properly in my browser just typing the URL in.

Bear with me, I think I may have to create a new thread just on the PDF Open Parameters.

But in answer to your question, right now I am not even displaying the whole feed, just working with the URLs.

Featured Post

Setting up LaraDock for Laravel

Learn how to set up LaraDock in a Laravel project - LaraDock gives us an easy way to run a Laravel application using Docker in a single command.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month7 days, 22 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question