diff options
author | friendica <info@friendica.com> | 2015-03-04 15:14:10 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-04 15:17:39 -0800 |
commit | 410f3335a9e97276b3262196f50798ff56624af5 (patch) | |
tree | b05da3ce18181e5dd981da001e0ca490e5b68d55 /include/html2plain.php | |
parent | 24304c53eb594c6cce908e7cbacff5f259445a06 (diff) | |
download | volse-hubzilla-410f3335a9e97276b3262196f50798ff56624af5.tar.gz volse-hubzilla-410f3335a9e97276b3262196f50798ff56624af5.tar.bz2 volse-hubzilla-410f3335a9e97276b3262196f50798ff56624af5.zip |
parse_url: if url returns an image/audio/video file instead of a webpage, return the bbcode for the appropriate content type. This results in two web fetches of the url in question, but the first one is just a HEAD. This way we won't try and download and parse an entire video. TODO: img's are checked to see if they should be zid-ified, but audio/video currently are not.
Diffstat (limited to 'include/html2plain.php')
0 files changed, 0 insertions, 0 deletions