Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Imbedding HTML into a another HTML
Message
 
 
À
10/12/2004 11:18:31
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
00967757
Message ID:
00968314
Vues:
20
Jay,

Yeah my Q&A is in a table and do all the edits to the articles there, and then run code that generates the html files I push to the server.
*\base\MyPage.html
<html><body>
#include mycoolheaderstuff.inc
more page stuff
#include mycoolfooterstuff.inc
</body></html>
so you read the \base\mypage.html file into VFP. Parse it looking for #include lines and whenever you find one you just replace it with the filetostr() of the appropriate .inc file and write the composite result out to \publish\mypage.html

>So, you wrote an HTML parser to handle recreating your pages, including any reusable functionality? Now your talking my language. <g> Ok, that's an interesting approach. Not sure I get your use of #includes to generate the final versions.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform