Diese Präsentation wurde erfolgreich gemeldet.
Die SlideShare-Präsentation wird heruntergeladen. ×

Creative Commons Namensnennung- Keine kommerzielle Plone is so semantic, isn't it?

Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Nächste SlideShare
Comparing C and Go
Comparing C and Go
Wird geladen in …3
×

Hier ansehen

24 von 26 Anzeige

Creative Commons Namensnennung- Keine kommerzielle Plone is so semantic, isn't it?

Herunterladen, um offline zu lesen

Creative Commons Namensnennung-
Keine kommerzielle Nutzung-
Keine Bearbeitung 3.0 Österreich LizenzPage 24 of 26
fise.client
Initialize:
>>> from fise.client import FISE
>>> fise = FISE('http://localhost:8080/')
Use the engines:
>>> somedoc = u"This is an example text."
>>> fise.engines(somedoc)
<xml...>
>>> fise.engines(somedoc,
format='rdfjson')
jsonresponse
Use the store, first store content
(only plain text is accepted for now):
>>> id = 'test123'
>>> fise.store.content[id] = payload
Next get the text back:
>>> fise.store.content[id]
u"This is an example text."
Then get the metadata:
>>> fise.store.metadata(id)
<RDF>
And FISE special feature: Get an HTML
page about the content:
>>> fise.store.page(id)
<HTML>

Creative Commons Namensnennung-
Keine kommerzielle Nutzung-
Keine Bearbeitung 3.0 Österreich LizenzPage 24 of 26
fise.client
Initialize:
>>> from fise.client import FISE
>>> fise = FISE('http://localhost:8080/')
Use the engines:
>>> somedoc = u"This is an example text."
>>> fise.engines(somedoc)
<xml...>
>>> fise.engines(somedoc,
format='rdfjson')
jsonresponse
Use the store, first store content
(only plain text is accepted for now):
>>> id = 'test123'
>>> fise.store.content[id] = payload
Next get the text back:
>>> fise.store.content[id]
u"This is an example text."
Then get the metadata:
>>> fise.store.metadata(id)
<RDF>
And FISE special feature: Get an HTML
page about the content:
>>> fise.store.page(id)
<HTML>

Anzeige
Anzeige

Weitere Verwandte Inhalte

Ähnlich wie Plone is so semantic, isn't it? (20)

Anzeige

Aktuellste (20)

×