Can I make microblog posts without titles? #299
-
Currently, when a user creates a blog post without a title the title is displayed as "None." Rather than this, I believe the title should be completely omitted (wordpress uses the post-date as the title when none is provided). I'm interested in writing a micropub endpoint plugin for Yellow to make it indieweb compatible, as well as compatible with Micro.Blog. Support for posts without titles would help this effort. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
I have to admit, that for me the current method is one of the major advantages of Yellow in compare to others. It is extremly simple to create and submit a new entry with a markdown file. As far as I understand micropub, this targets a completely different needs. In compare to the current method of editing directly in the webpage or upload a file via FTP or directly with an editor, it is a quite heavyweight procedure. I can not see an advantage, to have Yellow "indieweb compatible“ – Yellow is "Yellow compatible", driven by the same ideas as indieweb: owning your domain, using it as your primary identity to publish on your own site (optionally syndicate elsewhere), and owning your data". I am sorry, but for me there is no need for this plugin, bcause the explained targets are already been reached. But my opinion is not relevant. If you like to create a plugin for that, you should do it. The only thing that you should resepect are the ideas behind Yellow, instead of expecting Yellow has to change for your needs. I believe, if you think a little bit about the challenge, you will find a solution for „untitled pages“ – for me it´s obvious. |
Beta Was this translation helpful? Give feedback.
-
Yes, you can use the blog extension with a timestamp as a substitute title. Here's an example file
Create a new blog page in the web browser. Log in with your user account, click Tested with Datenstrom Yellow 0.8.23. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
@markseu I've been exploring what it would take to build a micropub endpoint for Yellow. This would allow folks to post to Yellow sites directly through the existing interface, as well as through a variety of micropub clients, like Quill and Micro.Blog's iOS app. The primary reason to do this is to use your personal site as a micro blog, micro blog posts (like tweets) feature a short snippet of text, and no post title. Making the micropub endpoint is relatively straight forward (I actually already have a working proof of concept in place), what I'm looking for now is a way to make blog post titles optional — right now Yellow seems to fill the title with "NONE" or a number if no title is provided. I'm wondering if there is a better way to handle blank titles? [EDITED]: Realized I had an invisible character in the template that was throwing the error. Your |
Beta Was this translation helpful? Give feedback.
-
I had a short look on "Quill" and "Micro Blog" and have no reasonable idea, why I should hand out my login data (that shurely are requried) to a third party instead to log in directly. But the idea, to have a simple interface for fast blogging is somehow interesting. Would it not be better/easier, to have an app on your computer/mobile that allows you to post without a web interface? Such an app may have a „create header entries“ button for creating/sending valid entries that are required. I will/can not promise anything, but if there is an interest in such an app, I may think about it. |
Beta Was this translation helpful? Give feedback.
-
Another microblogging solution which could be adapted to work with Yellow is TWTXT, however this is rather geeky and requires shell access to post updates. An advantage of this solution is that you don't need to access a serverside API, the posts are stored in a simple text file which can be pushed to the server using FTP or SFTP. Using a CSV parser for php, you can parse this file and turn it into a nice looking microblog site for Yellow. A general CSV parser plugin already is on my to-do-list, I can try to create this if anyone is interested. Steffen |
Beta Was this translation helpful? Give feedback.
-
@schulle4u I like the sound of that a lot! @BnNoSi I certainly understand hesitancy to hand out login credentials, but that isn’t required if a site has a micropub endpoint enabled. Micropub clients rely on a system called indieauth to handle user authentication. There is no centeralized login server this way, so there is no need to share login credentials! Here is some more info on indieauth: https://indieweb.org/IndieAuth |
Beta Was this translation helpful? Give feedback.
-
Does this mean that it is enough to get access to this single account to get access to all accounts served by this mechanism? Since such a service is of great interest for hackers because fo the booty is many times bigger, the risk of having uninvited guests on my domain increases significantly. I have to admit, that I still can not see an advantage on that. Is it really that complicated to log into Yellow for a post? |
Beta Was this translation helpful? Give feedback.
-
@BsNoSi I totally understand your concern, but indieauth isn't a single point of entry. Rather, it is a standard that allows folks to use their own domain name as credentials to sign in across the web. With this setup, there is no primary attack vector for hackers because the attack surface would be the specific domain name itself. There is no password to brute force, or guess. Instead, tokens are generated against the domain name. For more info, check out indieauth.com While I understand that you don't see a value in this, it is something I'm interested in exploring — and not asking to be baked into Yellow's core, by any means. Instead, I'm looking to create a plug in to support these features. There is an vibrant community of folks involved in the Indieweb, and think Yellow could be a valuable tool for them. The primary value that I see in supporting micropub (and indieauth) is allowing users to create posts within different context, such as replies and likes. |
Beta Was this translation helpful? Give feedback.
Yes, you can use the blog extension with a timestamp as a substitute title.
Here's an example file
content/shared/page-new-blog.md
:Create a new blog page in the web browser. Log in with your user account, click
+
at the top right, then clickCreate
and you should automatically get the correct page settings. The title is used to generate the file name and the URL of a page. The HTML code of a page can be customised in the layout file. Have a look at the existing layout files and customise them. For example remove the line<div class="entry-title">...</div>
from filesystem/layo…