Find Jobs
Hire Freelancers

522319 Simple php text file parsing script

N/A

Terminado
Publicado hace más de 12 años

N/A

Pagado a la entrega
I need a simple php script created that will parse a folder of text files and create a .html web page form each text file in the folder. Each text files have directory listings in them for a given city and are all in a specified format. A typical text file looks like this: Example typical text file name: [login to view URL] and the listings are in this format: Company Name : Company 1 Location : Cityname, State Short Description of Services : Test descrpition #1 could contain ' signs, periods and commas Phone Number : (123) 123-1234 Website Url : [login to view URL] Company Name : Company 2 Location : Cityname, State Short Description of Services : Test descrpition #2 could contain ' signs, periods and commas Phone Number : (234) 567-8910 Website Url : [login to view URL] Company Name : Company 3 Location : Cityname, State Short Description of Services : Test descrpition #2 could contain ' signs, periods and commas Phone Number : (345) 678-9101 Website Url : [login to view URL] So I'd need the script to parse each text file and then create an html page, based on a template. The template would have tokens (or place holders) in it for each of the items of the listing ie: %Company% %Description% %Location% %Phone% %Website% Example output of above tokens for first listing Company 1 Test descrpition #1 could contain ' signs, periods and commas Cityname, State (234) 567-8910 [login to view URL] I'd also want the following tokens (this would be parsed from the text file name, and the state would be parsed from the first listing) %cityname% %industry% %industry plural% %state% %text file name% %text file name plural% Example output of above tokens Cityname Wedding Planner Wedding Planners State Cityname Wedding Planner Cityname Wedding Planners
ID del proyecto: 2268257

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 12 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
I am ready to do it
$20 USD en 1 día
4,6 (51 comentarios)
4,6
4,6

Sobre este cliente

Bandera de CANADA
Delta, Canada
5,0
13
Forma de pago verificada
Miembro desde jul 2, 2005

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.