chore: added api info
9f8632f1
1 file(s) · +10 −2
| 29 | 29 | <meta name="twitter:description" content="Creating organic networks through Blogs, RSS, and Feeds"> |
|
| 30 | 30 | <meta name="twitter:image" content="/og.png"> |
|
| 31 | 31 | <style> |
|
| 32 | - | * { |
|
| 32 | + | body { |
|
| 33 | 33 | font-family: 'DM Sans', sans-serif; |
|
| 34 | 34 | } |
|
| 35 | 35 | details[open] summary svg { |
|
| 48 | 48 | </a> |
|
| 49 | 49 | <img src="https://blogfeeds.net/feeds.svg" alt="Feeds" id="feeds" class="w-5/6 mx-auto py-4" /> |
|
| 50 | 50 | <p class="text-gray-700 mb-6">To help foster a community around the concept of Blog Feeds, this page acts as an aggregator of thsoe who have a feeds page on their blog. If that's you and you don't see your blog below, then submit the RSS feed below and we'll review it regularly to add it!</p> |
|
| 51 | + | ||
| 52 | + | <div class="mb-6"> |
|
| 53 | + | <p class="text-gray-700 mb-2">This collection of feeds is also accessible via API</p> |
|
| 54 | + | <div class="bg-gray-100 rounded-lg p-3 !font-mono text-sm"> |
|
| 55 | + | <div class="mb-4">curl https://api.blogfeeds.net?format=json</div> |
|
| 56 | + | <div>curl https://api.blogfeeds.net?format=opml</div> |
|
| 57 | + | </div> |
|
| 58 | + | </div> |
|
| 51 | 59 | ||
| 52 | 60 | <form id="feedForm" class="space-y-4"> |
|
| 53 | 61 | <div> |
|
| 163 | 171 | ||
| 164 | 172 | if (response.ok) { |
|
| 165 | 173 | messageDiv.className = 'mt-4 p-4 rounded-lg bg-green-100 text-green-800'; |
|
| 166 | - | messageDiv.textContent = 'Feed submitted successfully!'; |
|
| 174 | + | messageDiv.textContent = 'Feed submitted for review!'; |
|
| 167 | 175 | document.getElementById('url').value = ''; |
|
| 168 | 176 | } else { |
|
| 169 | 177 | messageDiv.className = 'mt-4 p-4 rounded-lg bg-red-100 text-red-800'; |
|