How do I integrate external content...
- marcus@localhorst
- Posts: 815
- Joined: Fri 28. May 2004, 11:31
- Location: localhorst
- Contact:
How do I integrate external content...
...which is shared over two sites?
there is a public event database which lists events, restaurants etc. and from each event there is a link to more informations about the event.
(like this http://www.fvv-am-scheibenberg.de/Scheibenberg/ )
i think i need the data as XML (like a Newsfeed) thats should be easy to integrate, but what is with the extended informations of each headline? is it possible to get this in phpwcms? and how?
or is it easier to get the headlines as xml and open a popup window with the extended information, from the external website?
do you know what i mean? i hope so...
best wishes
marcus
there is a public event database which lists events, restaurants etc. and from each event there is a link to more informations about the event.
(like this http://www.fvv-am-scheibenberg.de/Scheibenberg/ )
i think i need the data as XML (like a Newsfeed) thats should be easy to integrate, but what is with the extended informations of each headline? is it possible to get this in phpwcms? and how?
or is it easier to get the headlines as xml and open a popup window with the extended information, from the external website?
do you know what i mean? i hope so...
best wishes
marcus
- marcus@localhorst
- Posts: 815
- Joined: Fri 28. May 2004, 11:31
- Location: localhorst
- Contact:
my english is too bad ;-(
diese seite z.B.
http://www.fvv-am-scheibenberg.de/Schei ... ungsreport soll in phpwcms integriert werden (der content für die neue seite kommt einmal aus der phpwcms datenbank und aus dieser externen "event"datenbank.
nun wäre es einfach, wenn ich die daten als xml bekomme, diese in phpwcms darzustellen (wie einen externen newsfeed) aber kann ich auch die erweiterten informationen, die hinter den veranstaltungsüberschriften stehen in phpwcms bekommen?
ich denke möglich ist das aber ich bin mir noch nicht im klaren wie...
any idea?
diese seite z.B.
http://www.fvv-am-scheibenberg.de/Schei ... ungsreport soll in phpwcms integriert werden (der content für die neue seite kommt einmal aus der phpwcms datenbank und aus dieser externen "event"datenbank.
nun wäre es einfach, wenn ich die daten als xml bekomme, diese in phpwcms darzustellen (wie einen externen newsfeed) aber kann ich auch die erweiterten informationen, die hinter den veranstaltungsüberschriften stehen in phpwcms bekommen?
ich denke möglich ist das aber ich bin mir noch nicht im klaren wie...
any idea?
- marcus@localhorst
- Posts: 815
- Joined: Fri 28. May 2004, 11:31
- Location: localhorst
- Contact:
dann verwendest du einfach ein per javascript eingepasstes iframe, dass immer automatisch die Grösser der Inhaltsseite annimmt => die Seite sieht nahtlos eingegliedert aus. Durchsuche mal das Forum nach diesem Thema, wirst da einiges finden.
http://www.phpwcms.de/forum/viewtopic.php?t=1116#6076
http://www.phpwcms.de/forum/viewtopic.php?t=1116#6076
- marcus@localhorst
- Posts: 815
- Joined: Fri 28. May 2004, 11:31
- Location: localhorst
- Contact:
--...--/index.php/topic,49.0.html
Ich könnte dir sonst noch snoopy empfehlen.
http://snoopy.sourceforge.net/
Ich denke das ist genau das richtige für dich, der Export wird ja bereits geregelt. Ich denke es geht dir hauptsächlich darum den Style anzupassen ?!?TriP wrote:Description:
With this modification you can include XML data on your website. The data can be local on your server or from another HTTP source (RSS).
Ich könnte dir sonst noch snoopy empfehlen.
http://snoopy.sourceforge.net/
- marcus@localhorst
- Posts: 815
- Joined: Fri 28. May 2004, 11:31
- Location: localhorst
- Contact:
hmm snoopy extrahiert dir jeden beliebigen Teil aus einer Webseite
Beispiel:
Im Quelltext der Seite befinden sich HTML-Kommentare (Anfang und Ende), alles zwischen diesen Kommentaren möchtest du gerne in deine Seite integrieren:
Anfang = <!-- Anfang -->
Ende = <!-- Ende -->
natürlich könnten diese HTML-Kommentare irgendwelche beliebigen Strings sein.
Beispiel:
Im Quelltext der Seite befinden sich HTML-Kommentare (Anfang und Ende), alles zwischen diesen Kommentaren möchtest du gerne in deine Seite integrieren:
Anfang = <!-- Anfang -->
Ende = <!-- Ende -->
natürlich könnten diese HTML-Kommentare irgendwelche beliebigen Strings sein.
- marcus@localhorst
- Posts: 815
- Joined: Fri 28. May 2004, 11:31
- Location: localhorst
- Contact:
yeah, i've integrate snoopy to phpwcms with a RT {GRAB:http://www.xyz.de/bla.php?var=doof} and it works very well. i rewrite all links and so i've integrate a whole site
here the original:
htt-p://www.fvv-am-scheibenberg.de/Scheibenberg ... ft/Ausgabe
and here the included one:
http://idk.lw-s13.sserv.de/wirtschaft.phtml
4 days of hard work and fights with regEx - the programming could be better but it works - if the output is valid...
used this tutorial:
(http://www.jjwdesign.com/data_mining_functions.html)
here the original:
htt-p://www.fvv-am-scheibenberg.de/Scheibenberg ... ft/Ausgabe
and here the included one:
http://idk.lw-s13.sserv.de/wirtschaft.phtml
4 days of hard work and fights with regEx - the programming could be better but it works - if the output is valid...
used this tutorial:
(http://www.jjwdesign.com/data_mining_functions.html)
- marcus@localhorst
- Posts: 815
- Joined: Fri 28. May 2004, 11:31
- Location: localhorst
- Contact:
yeah, i would, but the code is lousy and it should be a little bit reworked from a regEx/php Guru 
it's not very comfortable to cusomize.
Could you (or maybe you know someone) rewrite it a little bit? so i will send the stuff to your mail adress...
(i try to comment out the code as good as possible
greetings
marcus

it's not very comfortable to cusomize.
Could you (or maybe you know someone) rewrite it a little bit? so i will send the stuff to your mail adress...
(i try to comment out the code as good as possible

greetings
marcus