Giter Club home page Giter Club logo

twitter-rss-parser's People

Contributors

alt-grr avatar jdelamater99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

twitter-rss-parser's Issues

Format the tweet links according to the t.co recommendations

Question from @patrickbootscec in #8 (comment) that should be a separate issue:

I was looking at the JSON that I guess the Twitter API is providing us and I noticed that there's a condition for "expanded_url" and "url" if the Tweet has a link in it. The documentation explains these differences, https://developer.twitter.com/en/docs/tco and also explains the "t.co" formats.

For the Twitter to RSS Parser, the function "processString" appears to handle this sort of thing:

Twitter-RSS-Parser/functions.php

return preg_replace('/https?:\/\/[\w\-\.!~#?&=+\*\'"(),\/]+/','<a href="$0">$0</a>',$s);

Is there a way to use the "expanded_url" condition for the text displayed?

PHP Notice: Undefined offset: 0

If I am polling a list or search that has no results I see errors in the apache2 logs like this -

[Sun Sep 29 19:03:33 2013] [error] [client XXX.XXX.XXX.XXX] PHP Notice: Undefined offset: 0 in /var/www/twitter-rss-parser/list.php on line 29, referer: https://URL/twitter-rss-parser/?list=LISTNAME&owner=USERNAME
[Sun Sep 29 19:22:40 2013] [error] [client XXX.XXX.XXX.XXX] PHP Notice: Undefined offset: 0 in /var/www/twitter-rss-parser/search.php on line 30, referer: https://URL/twitter-rss-parser/?q=%23SEARCHQUERY

HTH

Including full Tweet and pictures within RSS description

Hello, I've downloaded and used the Twitter to RSS Parser with great success, but I was wondering if certain functionality is possible. I've noticed after about 12 or 13 words the rest of a longer Tweet will get cut off and appended with an ellipsis.

Is there any way to include the full Tweet? Also, is it possible to embed Twitter images within the RSS description with a change to these files?

Thanks for making the script, @jdelamater99, @craywolf, and @kuc since it does work better than all the others I've tried.

Clarify license

Hello.

I've used your code to make a derivative work, which I am about to post it as a gist.

But first I want to know exactly what license your work is under. I can see that it is one of the Creative Commons licenses, but it does not say which one. Can you please update the license page and specify what variant of CC it is?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.