Yusuf Kandemir
d769253701
Added different output methods
2018-11-12 11:20:01 +03:00
Yusuf Kandemir
5923db266c
Formatting
2018-11-11 23:19:53 +03:00
Yusuf Kandemir
ee7eaf1317
Some refactoring
2018-11-11 23:18:13 +03:00
Yusuf Kandemir
87dd20f753
Changed \DOMElement typehints to MicrodataDOMElement
2018-11-11 23:07:44 +03:00
Yusuf Kandemir
da88066237
Added ext-dom as dependency
...
ext-dom is required for DOMDocument, DOMElement etc. which is base of this package.
2018-11-11 23:04:19 +03:00
Yusuf Kandemir
9de66c3b40
Added no break comments
...
This is for both PSR-2 and avoiding pitfalls(that is why it is in PSR-2).
2018-11-11 22:59:59 +03:00
Yusuf Kandemir
9dd85c1e5b
Some formatting
2018-11-11 22:55:36 +03:00
Yusuf Kandemir
7bba0cbaa6
Little formatting
2018-11-11 22:54:43 +03:00
Yusuf Kandemir
89dfec9e39
Small fix
2018-11-11 22:49:31 +03:00
Yusuf Kandemir
4cdd720082
Refactoring
2018-11-11 22:47:37 +03:00
Yusuf Kandemir
faeb1f97a0
Some refactoring
2018-11-11 21:53:08 +03:00
Yusuf Kandemir
65f35e747b
Removed comments that only shows steps
...
This steps was only helpful while implementing the algorithm. And could be useful while comparing with the W3C specification, but they take up too much space.
2018-11-11 21:00:12 +03:00
Yusuf Kandemir
793d596541
Changed array_map to foreach
...
Unfortunately array_map only accepts arrays. Foreach looks more understandable (and performant) this way.
2018-11-11 20:54:31 +03:00
Yusuf Kandemir
0e2f17ac37
Extracted methods to a class
2018-11-11 20:49:54 +03:00
Yusuf Kandemir
dbfce2ae54
Added a test and a test data
2018-11-11 14:35:59 +03:00
Yusuf Kandemir
8d8503661f
Added package skeleton
...
Added modified version of thephpleague/skeleton as skeleton of package.
2018-11-10 21:57:03 +03:00
Yusuf Kandemir
b3edcd23a4
Removed procedural implementation
2018-11-10 15:11:39 +03:00
Yusuf Kandemir
880d3d8346
Same functionality implemented in OOP
2018-11-10 15:06:43 +03:00
Yusuf Kandemir
d76e764496
Initial commit
...
Procedural implemantation of W3C Microdata Specification
2018-11-10 13:51:55 +03:00