diff --git a/mpicms/publications/views.py b/mpicms/publications/views.py index 9c9bac4..da6ef12 100644 --- a/mpicms/publications/views.py +++ b/mpicms/publications/views.py @@ -5,14 +5,19 @@ class PublicationsFeedView(View): + # IMPORTANT: Quick hack to get experiments going, This assumes, that the + # editor of the publications is trusted to put only expected values into the + # fields. + # # 2DO: check for legal XML characters everywhere https://www.w3.org/TR/xml/#NT-Char # 2DO: Put HTML content in ? # If we don't make DOI into element: - # 2DO: escape invalid characterds in attribute ( " & < ) - # If we don't convert the rich text fields to plain text) - # 2DO: Remove editor artefacts from ricch text fields ("
blabla
") ? + # 2DO: escape invalid characterds in attribute ( " & < > ) + # If we don't convert the rich text fields to plain text maybe: + # 2DO: Removeeditor artefacts from rich text fields ("
blabla
") ? # 2DO: Remove from source fields ("Mol Cell.
") ? # maybe use xml.dom for that? + # 2DO: ... ? def get(self, request, *args, **kwargs): response = HttpResponse(content_type="application/rss+xml; charset=utf-8")