I have another job for you if you're available. Please let me know if you're interested.
I'd like to create a simple app for creating landing pages based on the landing page found at [url removed, login to view]
Basically, certain parts, like the headline, will be drawn from a database. The database is populated with a CSV that has a row for "headline" among other parts.
Here are the details...
LOGIN PAGE (homepage)
This admin interface is found at lawyerlift.com. It should be password protected with
the password LK#J$@#$**
When you login with the correct user/pass, you have to choose a client or click "Create
If you click "Create a client" you just create a name (a string). That's it.
CLIENT MAIN MENU
Within a client page, you'll see a client main menu with these options:
1) Create landing page batch
2) View landing page batches
"CREATE LANDING PAGE BATCH" BUTTON DETAILS
If you click on "Create landing page batch" on the main menu, you're asked to input
Batch name: (which is a string) (after entering the name, click "save" and it takes you
to the next screen...)
Batch CSV: [you upload a CSV] (click "browse" then "save" and you're done. The program
begins creating and publishing live pages per the below logic).
CSV details and logic
The program creates pages by filling in editable chunks of the landing page template.
Here are the names of those editable sections:
When the program creates a landing page, it takes the landing page template, and then
fills the editable chunks with the matching column in the CSV you uploaded.
For example, in the "headline" column of the CSV, a cell says, "Do you need help?". For
each row with any of these editable section data headings, it creates a landing page.
So in this case, it would create a landing page where the headine says "Do you need
It continues to do this for all rows until it's done. Each page's URL is a column from
the CSV. E.g., [url removed, login to view]
So after you upload the CSV, and the program is done turning the CSV columns into html
pages, it tells you it's done in an alert on the screen saying "A new batch called
'Plain Brown' has been created. Then you're done. Those pages are created and published
on the URLs specified in the CSV. The last screen is a sample of 5 URLs of new pages
created. Each URL opens in a new window.
"VIEW LANDING PAGE BATCHES" PAGE DETAILS
The second item on the main menu is this. If you click on it, it lists batch names that
you've already created, newest on top. Next to each batch name, there's a button to
delete or unpublish. Delete permanently removes them. Unpublish just temporarily
unpublishes the pages.
EDITABLE PARTS OF THE TEMPLATE
Hard coded into the program is certain parts of the template's text that is drawn from
the database, which is populated by the uploaded CSV.
[url removed, login to view] FILE
The program has a [url removed, login to view] file that automatically updates whenever you create a new
landing page batch. It prevents spiders from crawling the entire batch which contains
those landing pages.
We will need to create an A RECORD so that all these landing pages appear on the [url removed, login to view] subdomain. Final URLs will appear like: [url removed, login to view]