- A Print This Page Script Using the MS-XMLHTTP object and Regular Expressions
This 2-page article describes how to create a Printer Friendly Page using Microsofts XMLHTTP component along with regular expressions. It shows how to use XMLHTTP to perform an actual HTTP GET request for the page that you wish to display in a Printer Friendly format. Then, it utilizes regular expressions to pick out chunks of text that the Web page author has defined to not appear in the Printer Friendly format. A neat read highlighting the capabilities of the XMLHTTP component and regular expressions.
http://www.4guysfromrolla.com/webtech/052701-1.shtml
(Rating: 0.00 Votes: 0)
Rate It
Review It
- Content Management Made Easy with ASP
Automated content management is a must for many web sites. Its difficult to provide fresh new content without a standard automated system. This article discusses how to generate a general submission system, as well as how to manage the work flow, all with examples.
Price: Free
http://www.15seconds.com/Issue/000714.htm
(Rating: 0.00 Votes: 0)
Rate It
Review It
- Date Dependent Content
The author notes "Displaying content depending on what the current date value is a powerful and effective tool that adds value to any website. Whether it is to showcase a limited time offer, or to “automatically” update pages with new content while you’re miles away." This example code repeats the process to three times to demonstrate the full effects of date dependent content.
http://www.codeave.com/asp/code.asp?u_log=61
(Rating: 0.00 Votes: 0)
Rate It
Review It
- Page Template Functionality
Based on an HTML template file, this ASP sample code formats pages of a web site dynamically. It allows you to change the appearance, layout, fonts, colours and pagewidth throughout the whole site just by replacing one template file. It also allows you to display the same pages using different templates: printer friendly versions, small screens, handheld versions, webTV versions, search engine pages, etc.
http://www.asp101.com/articles/paul/templating/default.asp
(Rating: 0.00 Votes: 0)
Rate It
Review It
- Print View (From a db template)
Web pages usually print pretty lousy. Typically, background colors are not displayed (unless you change the browser settings) and depending on site the width may be set much wider than the printer can handle on the horizontal for an 8 ˝ page. Providing a printer friendly format adds immeasurable value for your users. This example demonstrates how to strategically place a couple of simple tautologies that will display banners and other items in the typical or “default” view and allows a link back to the same page with a querystring value that will be used to suppress everything but the db output.
http://www.codeave.com/asp/code.asp?u_log=24
(Rating: 0.00 Votes: 0)
Rate It
Review It
|