mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:10:16 +00:00
Move Activity/Namespaces defines to constants
This commit is contained in:
parent
978262a718
commit
07cea24430
34 changed files with 467 additions and 403 deletions
27
src/Protocol/Activity/Namespaces.php
Normal file
27
src/Protocol/Activity/Namespaces.php
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Protocol\Activity;
|
||||
|
||||
/**
|
||||
* Activity namespaces constants
|
||||
*/
|
||||
final class Namespaces
|
||||
{
|
||||
const ZOT = 'http://purl.org/zot';
|
||||
const DFRN = 'http://purl.org/macgirvin/dfrn/1.0';
|
||||
const THREAD = 'http://purl.org/syndication/thread/1.0';
|
||||
const TOMB = 'http://purl.org/atompub/tombstones/1.0';
|
||||
const ACTIVITY2 = 'https://www.w3.org/ns/activitystreams#';
|
||||
const ACTIVITY = 'http://activitystrea.ms/spec/1.0/';
|
||||
const ACTIVITY_SCHEMA = 'http://activitystrea.ms/schema/1.0/';
|
||||
const MEDIA = 'http://purl.org/syndication/atommedia';
|
||||
const SALMON_ME = 'http://salmon-protocol.org/ns/magic-env';
|
||||
const OSTATUSSUB = 'http://ostatus.org/schema/1.0/subscribe';
|
||||
const GEORSS = 'http://www.georss.org/georss';
|
||||
const POCO = 'http://portablecontacts.net/spec/1.0';
|
||||
const FEED = 'http://schemas.google.com/g/2010#updates-from';
|
||||
const OSTATUS = 'http://ostatus.org/schema/1.0';
|
||||
const STATUSNET = 'http://status.net/schema/api/1/';
|
||||
const ATOM1 = 'http://www.w3.org/2005/Atom';
|
||||
const MASTODON = 'http://mastodon.social/schema/1.0';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue