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

Ajout d'un bridge pour Facebook #147

Merged
merged 3 commits into from
Aug 31, 2015
Merged

Ajout d'un bridge pour Facebook #147

merged 3 commits into from
Aug 31, 2015

Conversation

teromene
Copy link
Member

Ajout d'un bridge permettant de récuperer les news d'une page Facebook publique.

@mitsukarenai
Copy link
Member

Mmmmoui ça a l'air de marcher, intéressant :) Est-ce qu'il y a la possibilité d'avoir les id et link/uri des statuts ou c'est juste pas possible ? (dans ce cas il faudrait ajouter un ancre unique au moins pour les id, par exemple un bête md5 du timestamp: https://facebook.com/Numerama#1aecac495e585455f950fde095cbace5 - bidouille pour que chaque statut ait un id unique conformément aux specs ATOM)

@teromene
Copy link
Member Author

J'ai ajouté une URI unique pour chaque post

mitsukarenai added a commit that referenced this pull request Aug 31, 2015
@mitsukarenai mitsukarenai merged commit b58a845 into RSS-Bridge:master Aug 31, 2015
@mitsukarenai
Copy link
Member

Merci 😄 Sur la question de l'ajout de Facebook aux bridges principales, je t'invite à l'issue #148 😉

@Albirew
Copy link
Contributor

Albirew commented Sep 1, 2015

ça a l'air sympa mais est-il possible de faire fonctionner le bridge avec les pages dont les adresses sont par exemple:facebook.com/pages/Anime-Heart/132621766841117 ? pour cet exemple, que ce soit en utilisant "Anime-Heart" ou "132621766841117", le bridge ne me donne qu'une page vide.

@mitsukarenai
Copy link
Member

Ah, c'est parce que c'est une page, et non un compte utilisateur 😉 teromene devra ajouter une fonction pour ça

@TwizzyDizzy
Copy link
Contributor

Hey @teromene,

thanks a lot for your effort :) Will you support pages in the future, too?

Cheers
Thomas

@johanpuisais
Copy link

Bonjour et merci pour ce bridge. Cependant il ne me retourne aucun résultat quel que soir le username, y a t-il une conf particulière à faire ? Bien à vous

@teromene
Copy link
Member Author

teromene commented Sep 2, 2015

Je vais regarder pour les pages.
@johanpuisais : Actuellement, le bridge ne supporte que les url de la forme https://www.facebook.com/Numerama par exemple

@johanpuisais
Copy link

Merci Teromene pour cette précision, il s'agit donc des pages FB et non des journaux de profils comme j'avais cru le comprendre initialement. Cela fonctionne très bien pour les pages ! J'espère que vous pourrez faire de même pour les profils prochainement. Bravo et merci pour cette fenêtre ouverte sur le "mur FB" ;-)

logmanoriginal added a commit that referenced this pull request Dec 11, 2018
- Update parser to version 1.7
https://sourceforge.net/projects/simplehtmldom/files/simplehtmldom/1.7/

References #959

-------------------- CHANGELOG --------------------

- Added code documentation to improve readability
- Added unit tests for `simple_html_dom::$self_closing_tags`
- Added unit tests for `simple_html_dom::$optional_closing_tags`
- Added unit tests for bug reports
  - Added test for bug [#56](https://sourceforge.net/p/simplehtmldom/bugs/56/)
  - Added test for bug [#97](https://sourceforge.net/p/simplehtmldom/bugs/97/)
  - Added test for bug [#116](https://sourceforge.net/p/simplehtmldom/bugs/116/)
  - Added test for bug [#121](https://sourceforge.net/p/simplehtmldom/bugs/127/)
  - Added test for bug [#127](https://sourceforge.net/p/simplehtmldom/bugs/127/)
  - Added test for bug [#154](https://sourceforge.net/p/simplehtmldom/bugs/154/)
  - Added test for bug [#160](https://sourceforge.net/p/simplehtmldom/bugs/160/)
- Added unit tests for memory management of the parser
- Added bit flags to `simple_html_dom::load()`
  - Added bit flag `HDOM_SMARTY_AS_TEXT` to optionally filter Smarty scripts (#154)\
  **Note**: Smarty scripts are no longer filtered by default!\
- Added build script to automate releases
- Added support for attributes without whitespace to separate them
- Improved documentation and readability for `$self_closing_tags`
- Improved documentation and readability for `$block_tags`
- Improved documentation and readability for `$optional_closing_tags`
- Updated list of `simple_html_dom::$self_closing_tags`
  - Removed 'spacer' (obsolete)
  - Added 'area'
  - Added 'col'
  - Added 'meta'
  - Added 'param'
  - Added 'source'
  - Added 'track'
  - Added 'wbr'
- Updated list of `simple_html_dom::$optional_closing_tags`
  - Removed "nobr" (obsolete)
  - Added 'th' as closable element to 'td'
  - Added 'td' as closable element to 'th'
  - Added 'optgroup' with 'optgroup' and 'option' as closable elements
  - Added 'optgroup' as closable element to 'option'
  - Added 'rp' with 'rp' and 'rt' as closable elements
  - Added 'rt' with 'rt' and 'rp' as closable elements
- Clarified meaning of `simple_html_dom->parent`
- Changed default `$offset` for `file_get_html()` from -1 to 0 (#161)
- Changed `simple_html_dom::load()` to remove script tags before replacing newline characters
- `simple_html_dom_node::text()` no longer adds whitespace to top level span elements (only to sub-elements)
- `simple_html_dom_node::text()` adds blank lines between paragraphs
- Normalized line endings in the repository to LF via `.gitattributes`
- Improved performance of `simple_html_dom::parse_charset()` by approximately 25%
- Improved performance of `simple_html_dom::parse()` by approximately 10%
- `str_get_html()` is deprecated and should be replaced by `new simple_html_dom()`
- Removed protected function `simple_html_dom::copy_until_char_escaped()`
- Fixed compatibility issues with PHP 7.3
- Fixed typo (#147)
- Fixed handling of incorrectly escaped text (#160)
- Restore functionality of `$maxLen` in `file_get_html()`
- Fixed load_file breaks if an error ocurred in another script
infominer33 pushed a commit to web-work-tools/rss-bridge that referenced this pull request Apr 17, 2020
- Update parser to version 1.7
https://sourceforge.net/projects/simplehtmldom/files/simplehtmldom/1.7/

References RSS-Bridge#959

-------------------- CHANGELOG --------------------

- Added code documentation to improve readability
- Added unit tests for `simple_html_dom::$self_closing_tags`
- Added unit tests for `simple_html_dom::$optional_closing_tags`
- Added unit tests for bug reports
  - Added test for bug [RSS-Bridge#56](https://sourceforge.net/p/simplehtmldom/bugs/56/)
  - Added test for bug [RSS-Bridge#97](https://sourceforge.net/p/simplehtmldom/bugs/97/)
  - Added test for bug [RSS-Bridge#116](https://sourceforge.net/p/simplehtmldom/bugs/116/)
  - Added test for bug [RSS-Bridge#121](https://sourceforge.net/p/simplehtmldom/bugs/127/)
  - Added test for bug [RSS-Bridge#127](https://sourceforge.net/p/simplehtmldom/bugs/127/)
  - Added test for bug [RSS-Bridge#154](https://sourceforge.net/p/simplehtmldom/bugs/154/)
  - Added test for bug [RSS-Bridge#160](https://sourceforge.net/p/simplehtmldom/bugs/160/)
- Added unit tests for memory management of the parser
- Added bit flags to `simple_html_dom::load()`
  - Added bit flag `HDOM_SMARTY_AS_TEXT` to optionally filter Smarty scripts (RSS-Bridge#154)\
  **Note**: Smarty scripts are no longer filtered by default!\
- Added build script to automate releases
- Added support for attributes without whitespace to separate them
- Improved documentation and readability for `$self_closing_tags`
- Improved documentation and readability for `$block_tags`
- Improved documentation and readability for `$optional_closing_tags`
- Updated list of `simple_html_dom::$self_closing_tags`
  - Removed 'spacer' (obsolete)
  - Added 'area'
  - Added 'col'
  - Added 'meta'
  - Added 'param'
  - Added 'source'
  - Added 'track'
  - Added 'wbr'
- Updated list of `simple_html_dom::$optional_closing_tags`
  - Removed "nobr" (obsolete)
  - Added 'th' as closable element to 'td'
  - Added 'td' as closable element to 'th'
  - Added 'optgroup' with 'optgroup' and 'option' as closable elements
  - Added 'optgroup' as closable element to 'option'
  - Added 'rp' with 'rp' and 'rt' as closable elements
  - Added 'rt' with 'rt' and 'rp' as closable elements
- Clarified meaning of `simple_html_dom->parent`
- Changed default `$offset` for `file_get_html()` from -1 to 0 (RSS-Bridge#161)
- Changed `simple_html_dom::load()` to remove script tags before replacing newline characters
- `simple_html_dom_node::text()` no longer adds whitespace to top level span elements (only to sub-elements)
- `simple_html_dom_node::text()` adds blank lines between paragraphs
- Normalized line endings in the repository to LF via `.gitattributes`
- Improved performance of `simple_html_dom::parse_charset()` by approximately 25%
- Improved performance of `simple_html_dom::parse()` by approximately 10%
- `str_get_html()` is deprecated and should be replaced by `new simple_html_dom()`
- Removed protected function `simple_html_dom::copy_until_char_escaped()`
- Fixed compatibility issues with PHP 7.3
- Fixed typo (RSS-Bridge#147)
- Fixed handling of incorrectly escaped text (RSS-Bridge#160)
- Restore functionality of `$maxLen` in `file_get_html()`
- Fixed load_file breaks if an error ocurred in another script
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

Successfully merging this pull request may close these issues.

5 participants