{"id":21534458,"url":"https://github.com/equk/lastfm_feed","last_synced_at":"2025-03-17T20:14:40.517Z","repository":{"id":149680439,"uuid":"12686741","full_name":"equk/lastfm_feed","owner":"equk","description":"simple lasftm feed using php + xml","archived":false,"fork":false,"pushed_at":"2014-04-01T14:08:00.000Z","size":224,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T07:11:26.331Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/equk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-08T20:08:14.000Z","updated_at":"2014-04-01T14:07:58.000Z","dependencies_parsed_at":"2023-04-01T08:26:40.062Z","dependency_job_id":null,"html_url":"https://github.com/equk/lastfm_feed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Flastfm_feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Flastfm_feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Flastfm_feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/equk%2Flastfm_feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/equk","download_url":"https://codeload.github.com/equk/lastfm_feed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244102855,"owners_count":20398386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T03:10:50.891Z","updated_at":"2025-03-17T20:14:40.493Z","avatar_url":"https://github.com/equk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"lastfm_feed\n===========\n\n\n    *****************************************************************\n                    Lastfm feed - equk.co.uk\n    *****************************************************************\n     lastfm feed - Copyright (C) 2014  Bradley Walden\n     This program comes with ABSOLUTELY NO WARRANTY.\n     This is free software, and you are welcome to redistribute it\n     under certain conditions. See GNU GPLv3.\n    *****************************************************************\n\n    *****************************************************************\n    Version: 0.3.0\n\n    Changelog:\n\n        0.1.0 - initial commit\n\n        0.2.0 - added function time_ago to show how long ago since\n                tracks were played\n\n        0.3.0 - code cleanup (indent etc)\n\n    *****************************************************************\n\n    To use this script you need to include this file using php.\n    You can then call the functions.\n\n    lastfmfeed('username','number_of_tracks')\n\n    eg: lastfmfeed('equilibriumuk','10');\n\n    There is also a function for css styles which can be put into\n    the header of the website/page.\n\n    eg: lastfmfeed_css();\n\n\nTo use this script you need to include lastfm_feed.php .. You can then call the functions.\n\nThere is also a function for css styles which can be put into\nthe header of the website/page.\n\nPlease see example.php for a working example of this code.\n\nThe example is also available live at lastfm.equk.co.uk\n\n\nEXAMPLE:\n\n![](https://raw.github.com/equk/lastfm_feed/master/example_screenshot.png)\n\n```php\n\n\u003c!DOCTYPE html\u003e\n\u003c!--[if lt IE 7]\u003e      \u003chtml class=\"no-js lt-ie9 lt-ie8 lt-ie7\"\u003e \u003c![endif]--\u003e\n\u003c!--[if IE 7]\u003e         \u003chtml class=\"no-js lt-ie9 lt-ie8\"\u003e \u003c![endif]--\u003e\n\u003c!--[if IE 8]\u003e         \u003chtml class=\"no-js lt-ie9\"\u003e \u003c![endif]--\u003e\n\u003c!--[if gt IE 8]\u003e\u003c!--\u003e \u003chtml class=\"no-js\"\u003e \u003c!--\u003c![endif]--\u003e\n\u003c?php include ('lastfm_feed.php') ?\u003e\n\u003chead\u003e\n    \u003cmeta charset=\"utf-8\"\u003e\n    \u003cmeta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\"\u003e\n    \u003ctitle\u003e\u003c/title\u003e\n    \u003cmeta name=\"description\" content=\"\"\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width\"\u003e\n    \u003c?php lastfmfeed_css();?\u003e\n\n\u003c/head\u003e\n\u003cbody\u003e\n\n    \u003ch1\u003elast.fm\u003c/h1\u003e\n\n    \u003c?php lastfmfeed('equilibriumuk','10'); ?\u003e\n\n\u003c/body\u003e\n\u003c/html\u003e\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequk%2Flastfm_feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fequk%2Flastfm_feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequk%2Flastfm_feed/lists"}