Commit Graph

84 Commits

Author SHA1 Message Date
Vasudev Kamath 863617013c Access image part of siteinfo only if $siteinfo["images"] is actually set. The current
code didn't check this so I was getting an error
     Warning: Invalid argument supplied for foreach() in /home/vasudev/Public/friendica/mod/parse_url.php on line 305

Implemented a check before accessing $siteinfo["images"] with this commit and now warning doesn't come when giving URL of a site which doesn't have image from link button of post area
2012-07-22 12:41:07 +05:30
Michael Vogel 222635d15a parse_url: Just added a comment for future elements that should be added as well. 2012-07-18 21:06:38 +02:00
Michael Vogel 72f430ae58 parse_url: Problem when resizing images 2012-07-14 13:59:42 +02:00
Michael Vogel 5f400c4a97 API: Now returns a real 404 when a function isn't implemented
parse_url: Image handling improved
2012-07-13 23:23:31 +02:00
Michael Vogel 02a1fc9cd0 parse_url: Further improvements of the new method to fetch page data 2012-07-12 23:41:04 +02:00
Michael Vogel 09034ce0ee parse_url: Fetch multiple pictures so that the user can decide what to take. 2012-07-12 08:20:27 +02:00
Michael Vogel 48f67ead9b parse_url: complete new code for fetching website information 2012-07-12 01:17:33 +02:00
friendica 0ecba60503 undefined fn 2012-06-28 21:15:43 -07:00
Fabio Comuni 7cc8c369cb Add support for PNG images with alpha 2012-06-07 17:42:13 +02:00
Alexander Kampmann 355c42cb30 Merge branch 'master' of https://github.com/friendica/friendica
Conflicts:
	include/config.php
	update.php
2012-04-05 13:39:15 +02:00
Tobias Hößl 02a9fd5dc1 A 'PHP Fatal error: Call to a member function getElementsByTagName() on a non-object in mod/parse_url.php on line 191' occurred when the linked HTML-File doesn't have a HEAD. The HTML-file couln't be link to in the editor therefore. 2012-03-03 10:44:34 +00:00
friendica c6cdad946e more fixes for textmode 2012-02-07 00:13:16 -08:00
friendica 8aa2552372 add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit) 2012-01-18 16:21:30 -08:00
Friendika e5992003e8 better handling of remote urls - especially FB opengraph 2011-10-28 02:50:00 -07:00
Friendika 01164c8c2f fix various html parse errors 2011-10-20 16:48:07 -07:00
Friendika 1c8e89bd03 social bookmark API, oexchange enhancements 2011-09-20 16:31:45 -07:00
Friendika 8a11cec61a allow setting all the bookmarked URL fields via script/API 2011-09-19 22:21:55 -07:00
Friendika 82f7f33cf5 bookmarks + bug #140 2011-09-04 19:58:03 -07:00
Friendika 9ff1a3444e add timezone convert module, several other minor or in progress fixes 2011-09-04 00:48:45 -07:00
Friendika f0af4de4a7 wrap text from imported link in [quote] 2011-08-04 19:19:51 -07:00
Friendika 2a65d01ce2 several fixes to parse_url 2011-07-11 17:23:42 -07:00
Friendika 35edf79abe bug #102 2011-07-09 15:06:53 -07:00
Friendika 24d41e2c6e purify html before trying to parse wild urls. This way at least it should parse. 2011-07-04 23:02:04 -07:00
Fabio Comuni 7c5a7a94d4 Add oembed user option for use oembed instead of standard yotube embedding.
Remove global option and parse_url use of oembed.
2011-05-23 10:37:09 +02:00
fabrixxm ef64c5187d add config [system][embed_all] to use oembed with links and youtube. Url parse fallback to default if url has not an oembed rappresentation. 2011-05-23 09:14:57 +02:00
Friendika bc2297d933 don't insert link summaries containing javascript bug #75 2011-05-21 05:27:53 -07:00
Friendika 2fffec912c leave extra line between imported url and content 2011-05-10 18:15:45 -07:00
Friendika 58508201a5 bug #37, ampersand + everything following in url is stripped when using link icon to share link 2011-04-10 03:36:12 -07:00
Friendika f6556e0a72 more plugin hooks 2010-12-25 15:01:02 -08:00
Friendika ddec422de6 begin plugin api 2010-12-20 19:38:34 -08:00
Friendika 2d9718fee9 do a slightly better job at finding relevant content from scraping submitted links 2010-12-19 19:04:37 -08:00
Friendika 0afc71a95a trim trailing LF in imported link 2010-12-06 16:26:32 -08:00
Mike Macgirvin 7a07a2cf31 enhance url parse 2010-07-22 23:17:41 -07:00
Mike Macgirvin 36b66dccb6 ajaxify the wall poster 2010-07-22 22:41:45 -07:00