![]() |
#1 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 2128
Join Date: Dec 2002
|
Use script to post form (to print page)?
I've run into a couple of XML feeds where the print view of the linked page was embedded in the article as a list to a form post (if that make sense) and was wondering if it is somehow possible push Sunrise through to the print view during generation.
Example - ExtremeTech News feed: The link in the XML rss feed is this: http://www.extremetech.com/article2/...129TX1K0000532 and then onto that page there is this HTML code burried: Quote:
|
|
![]() |
![]() |
#2 |
Jah Blessed
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
Look closely, you need to append "hidPrint=true" to the URL.
http://www.extremetech.com/print_art...?hidPrint=true |
![]() |
Advert | |
|
![]() |
#3 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24
Karma: 2128
Join Date: Dec 2002
|
You're right, so the "hidPrint=true" needs to be tacked on to the "print_article" URL once I dig it out of the base HTML., but I'd still need to dig the URL out from the form action link. I'm thinking this can't be done.
Here's from RSS XML (http://rssnewsapps.ziffdavis.com/extreme.xml): Quote:
Quote:
|
||
![]() |
![]() |
#4 |
Jah Blessed
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
You're right. I only glanced over it. There's no way to do this for this site, as URL rewriting is based on there being a common ID in the original and print URLs. In this case they use different IDs.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
recipe to pull web page similar to 'print/save as pdf' | JPD | Recipes | 15 | 09-29-2010 09:20 AM |
Print vs Pixel: retailers experiment with print/ebook bundles | DMcCunney | General Discussions | 42 | 09-15-2010 11:29 AM |