Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple authors / RSS email #275

Open
carried-away opened this issue May 9, 2024 · 1 comment
Open

Multiple authors / RSS email #275

carried-away opened this issue May 9, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@carried-away
Copy link

Hello again,

When there are multiple authors, the RSS email will concatenate both strings in the from field.

E.G.

author:
- Mary Jane
- Peter Parker

Email = From: Mary JanePeter Parker

I tried to cheat and put a space at the end of the names in the yaml file, but it sanitizes it. Is there a good way of getting a space between each author if multiple?

@Guts
Copy link
Owner

Guts commented Jun 10, 2024

Hello @carried-away

Sorry for the delayed answer.

Can you share your whole project or at least a full page YAML frontmatter? It's pretty hard to understand what's wrong. Try to fill your issue with valuable information: expected behavior, used, version, etc.

Do you have a frontmatter like this https://github.com/Guts/mkdocs-rss-plugin/blob/main/docs/index.md?plain=1#L3-L5?

@Guts Guts added the question Further information is requested label Jun 10, 2024
Guts added a commit that referenced this issue Jul 3, 2024
Hello @Guts 

Thanks for the awesome project.

I use this plugin heavily in my [SRE
blog](https://developer-friendly.blog).

I figured it would be nice to allow per page customization of the
`description` field, cause at the moment, there's not a lot one can do
when the description before `<!-- more -->` is short and extra detail is
desired.

With this change, you can have separate contents for RSS description and
your typical content.

An example taken from the [Material for Mkdocs Social
Cards](https://squidfunk.github.io/mkdocs-material/plugins/social/#option.description):

```markdown
---
date: 2024-06-24
description: >-
  This is the SEO description.
social:
  cards_layout_options:
    description: >-
      This is the social cards description.
rss:
  feed_description: >-
    And I want to have customized RSS description.
---

```


This idea, I reckon, can easily be extended for other similar use-cases:
- #297 
- #275 
- #197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants