A
A
Alex Goncharov2013-12-01 22:02:09
ruby
Alex Goncharov, 2013-12-01 22:02:09

How to organize HTML generation from source data?

There is a site on which the TV Schedule HTML Widget is installed via iframe. It is necessary to organize a convenient addition / selection / sorting of gears. What is the best way to arrange adding and sorting?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
cheerfulatlas, 2013-12-02
@calirails

Extract data? By requesting them with a server script. Speaking in the context of an iframe, then using js you will not be able to request a page not from your domain.
Next, you need to parse the resulting page, an example of a similar task
At the expense of sorting / selection. If the volumes of data are large, it makes sense to use databases. Otherwise (I can only talk about php) you can either use something like this , or write everything using associative arrays.

V
Vitaly Peretyatko, 2013-12-01
@viperet

Make a page parser in php that is in an iframe, and then display it as you need.

E
evnuh, 2013-12-01
@evnuh

No, if the iframe is not from your domain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question