janboddez / laravel-webmention

Have your Laravel app accept and send webmentions
MIT License
2 stars 0 forks source link

Add parser #2

Open janboddez opened 2 years ago

janboddez commented 2 years ago

I'd love to add a job here, that just processes previously saved webmentions, but its details would depend a whole lot on how mentions are integrated.

A parser class is probably the better option. Something that takes the php-mf2 output and returns a name, avatar, URL, comment, and date, or something.

Folks could then "easily" write their own job. Or we provide something they can extend; should look into that.

janboddez commented 1 year ago

Or just presents all of php-mf2's output data.

A parser class is probably the better option. Something that takes the php-mf2 output and returns a name, avatar, URL, comment, and date, or something.