Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Open an HTML file with no interpretation(I want to open an HTML file as a simple text file.)
Open an HTML file with no interpretation [message #1435267] Wed, 01 October 2014 08:32
Jean-Luc GARNIER is currently offline Jean-Luc GARNIERFriend
Messages: 2
Registered: October 2014
Junior Member
Hi,

Newcomer to Eclipse, I'm trying to restart an old project, using SPIP CMS framework. 1st file open, 1st issue! Smile

The file is stuffed with SPIP internal tags, but the overall file should be handled as an HTML file. Unfortunately, Eclipse displays an almost empty window that only shows the word #CHARSET.

File is:
[(#REM)
	Head standard de toutes les pages ;
	les elements specifiques (title, description) figurent dans chaque squelette
]
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />

[(#REM) Lien vers le flux RSS du site ]
[<link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="(#URL_PAGE{backend})" />]

[(#REM) 1. Base CSS ]
<meta name="viewport" content="width=device-width" />
[<link rel="stylesheet" href="(#CHEMIN{css/reset.css}|direction_css)" type="text/css" />]
[<link rel="stylesheet" href="(#CHEMIN{css/font.css}|direction_css)" type="text/css" />]
[<link rel="stylesheet" href="(#CHEMIN{css/typo.css}|direction_css)" type="text/css" />]
[<link rel="stylesheet" href="(#CHEMIN{css/form.css}|direction_css)" type="text/css" />]
[<link rel="stylesheet" href="(#CHEMIN{css/clear.css}|direction_css)" type="text/css" />]
[<link rel="stylesheet" href="(#CHEMIN{css/grid.css}|direction_css)" type="text/css" />]
[<link rel="stylesheet" href="(#CHEMIN{css/layout.css}|direction_css)" type="text/css" />]

[(#REM) 2. Style SPIP et ses plugins ]
[<link rel="stylesheet" href="(#CHEMIN{css/spip.css}|direction_css)" type="text/css" />]
#INSERT_HEAD_CSS

[(#REM) 3. Vos feuilles de style pour l'habillage du site ]
[<link rel="stylesheet" href="(#CHEMIN{css/style.css}|direction_css)" type="text/css" />]
[<link rel="stylesheet" href="(#CHEMIN{css/contentslider.css}|direction_css)" type="text/css" />]
[<link rel="stylesheet" href="(#CHEMIN{css/mandawa.css}|direction_css)" type="text/css" />]

[(#REM)
	Balise permettant aux plugins d'inserer des appels javascript ;
	4. C'est ici que SPIP va inserer l'appel de la librairie jQuery
	5. Et appeler a la fin compacte_head pour agreger et compacter tout le head dans des fichiers statiques si l'option est cochee dans Configuration
]
#INSERT_HEAD

[(#REM) 6. Vos scripts ]
[<script src="(#CHEMIN{scripts/contentslider.js})" type="text/javascript"></script>]

[(#REM) Fierement fabrique avec SPIP ]
<meta name="generator" content="SPIP[ (#SPIP_VERSION)]" />

[(#REM) Favicon ]
[<link rel="icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />
[<link rel="shortcut icon" type="image/x-icon" href="(#CHEMIN{favicon.ico})" />]]


Editor window displays an horizontal bar followed by #CHARSET only! See attached file.

How can I tell Eclipse not to interpret SPIP's keywords? Otherwise the whole environment is totally useless to me and I'll switch to Notepad... Sad
Previous Topic:PDT (LUNA) and Smarty Templates
Next Topic:AngularJS support for PHP
Goto Forum:
  


Current Time: Fri Oct 04 02:49:01 GMT 2024

Powered by FUDForum. Page generated in 0.03965 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top