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

invalid mf2 data #208

Closed
pfefferle opened this issue Aug 19, 2018 · 10 comments
Closed

invalid mf2 data #208

pfefferle opened this issue Aug 19, 2018 · 10 comments

Comments

@pfefferle
Copy link
Contributor

Post-Kinds stores invalid mf2 data as post-meta:

"in-reply-to": {
                "type": [
                    "h-cite"
                ],
                "properties": {
                    "published": [
                        "2018-06-19T21:44:20+00:00"
                    ],
                    "updated": [
                        "2018-06-19T21:44:20+00:00"
                    ],
                    "summary": [
                        "(Ich wei\u00df, ich wei\u00df\u2026 ich bin etwas sp\u00e4t dran, aber immerhin schreibe ich schon seit dem 26. Mai an dem Post!)\r\nAm 27.06. fand, im Rahmen des Karlsruher WordPress Meetups, eine kleine 15 Jahr feier statt. Lucas Radke (der leider keine eigene Webseite besitzt) hat zu diesem Anlass, die WordPress H..."
                    ],
                    "name": [
                        "15 Jahre WordPress"
                    ],
                    "url": [
                        "https:\/\/notiz.blog\/2018\/06\/19\/15-jahre-wordpress\/"
                    ],
                    "category": [
                        "b2",
                        "cafelog",
                        "Jubil\u00e4um",
                        "WordPress"
                    ],
                    "publication": [
                        "notiz.Blog"
                    ],
                    "featured": [
                        "https:\/\/notiz.blog\/wp-content\/uploads\/2018\/05\/wp15.png"
                    ],
                    "author": {
                        "name": "Matthias Pfefferle",
                        "url": "https:\/\/notiz.blog\/author\/matthias-pfefferle\/",
                        "photo": "https:\/\/secure.gravatar.com\/avatar\/75512bb584bbceae57dfc503692b16b2?s=40&d=https:\/\/notiz.blog\/wp-content\/plugins\/semantic-linkbacks\/img\/mm.jpg&r=g"
                    }
                }
            }

The author seems to be jf2, but the type is missing.

See: indieweb/wordpress-mf2-feed#5

@dshanske
Copy link
Owner

I will fix that. I originally stored everything as jf2 before switching to mf2 to match Micropub for consistency. Must have missed this.

@pfefferle
Copy link
Contributor Author

but, this is not even jf2

@dshanske
Copy link
Owner

Yes, must have missed fixing it when I moved over. I am missing the type

@pfefferle
Copy link
Contributor Author

how can I test the meta data from the micropub plugin?

@pfefferle
Copy link
Contributor Author

the "in-reply-to" has to be also an array of objects.

@dshanske
Copy link
Owner

dshanske commented Sep 9, 2018

The new version should store proper mf2.

@dshanske
Copy link
Owner

dshanske commented Sep 9, 2018

@pfefferle How did you check this?

@pfefferle
Copy link
Contributor Author

pfefferle commented Sep 10, 2018

I installed the mf2-feed (github version) plugin, posted a reply using the post-kinds plugin and verified the output with the validating tool of @aaronpk http://php.microformats.io

@dshanske
Copy link
Owner

I think I've fixed it now.

@dshanske
Copy link
Owner

dshanske commented Jun 9, 2019

Closing due extensive adjustment of storage.

@dshanske dshanske closed this as completed Jun 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants