I'm looking for a simple way to include certain lines of one file in another without including all of them. I'm basically using this for a schedule where I need to display a simple version on one page and a more detailed version on the other. Right now I create each page separately, and I would like to be able to just create one page with more information and have the simpler page pull only the specific parts of the complex page that I need I know I could use some sort of scheduling package, but we just post one week at a time, and I'd rather keep it simple. I would prefer to use SSI if it has this capability, but I could do PHP, JavaScript or something else entirely if need be. An example of what I'm trying to do is below. The full version would include the following information: Monday, March 26, 2007 Full Committee Hearing on "How Effective are Existing Programs in Helping Workers Impacted by International Trade?" scheduled at 1:00 p.m. in room 2175 Rayburn H.O.B. Archived Webcast ›› Witnesses David Lee Bevard Galesburg, IL Stan Dorn Senior Research Associate Urban Institute Washington, D.C. Bruce G. Herman Executive Director National Employment Law Project New York, NY Lael Brainard, Ph.D. Vice President and Director, Bernard L. Schwartz Chair in International Economics Brookings Global Economy and Development Program Washington, D.C. Tim Alford Director Office of Workforce Development Montgomery, AL Thea Lee Policy Director AFL-CIO Washington, D.C. Tuesday, March 27, 2007 Subcommittee on Workforce Protections Hearing on "Providing Fairness to Workers Who Have Been Misclassified as Independent Contractors," scheduled at 10:30 a.m. in room 2175 Rayburn H.O.B. Archived Webcast ›› Witnesses Catherine Ruckelshaus New York, NY Cliff Horn A. Horn, Inc. Barrington, IL President John J. Flynn International Union of Bricklayers and Allied Craftworkers Washington, DC Richard R. Shavell Shavell & Company, P.A. Boca Raton, FL The short version would include: Monday, March 26, 2007 Full Committee Hearing on "How Effective are Existing Programs in Helping Workers Impacted by International Trade?" scheduled at 1:00 p.m. in room 2175 Rayburn H.O.B. Archived Webcast ›› Tuesday, March 27, 2007 Subcommittee on Workforce Protections Hearing on "Providing Fairness to Workers Who Have Been Misclassified as Independent Contractors," scheduled at 10:30 a.m. in room 2175 Rayburn H.O.B. Archived Webcast ›› Any help would be much appreciated. Will
This would be hard to do with SSI. SSI will want to include the text as it is written. You could use variables to store the extra text (on the simple page the variables would be empty, thus showing the simple text). The problem is that variables don't work very well in this method. Do you hardcode this into the files now? I think the easiest would be to store the events in a database and call them that way. You would have a tblEvents (or some such) and it could have the following columns: eventID int eventName char eventType char (or int with a related table) eventDate date webcastURL char You could either enter the witness list as a string or into a related table. tblWitness witnessID int eventID int witnessName char(50) XML would be a good alternative as mentioned above.