Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/explore/projects/_project.atom.builder')
-rw-r--r--app/views/explore/projects/_project.atom.builder14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/explore/projects/_project.atom.builder b/app/views/explore/projects/_project.atom.builder
new file mode 100644
index 00000000000..f0500901a73
--- /dev/null
+++ b/app/views/explore/projects/_project.atom.builder
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+xml.entry do
+ xml.title project.name
+ xml.link href: project_url(project), rel: "alternate", type: "text/html"
+ xml.id project_url(project)
+ xml.updated project.created_at
+
+ if project.description.present?
+ xml.summary(type: "xhtml") do |summary|
+ summary << project.description
+ end
+ end
+end