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

How hard would it be to return page title on expansion? #4

Open
AvianFlu opened this issue Jun 3, 2011 · 1 comment
Open

How hard would it be to return page title on expansion? #4

AvianFlu opened this issue Jun 3, 2011 · 1 comment

Comments

@AvianFlu
Copy link

AvianFlu commented Jun 3, 2011

I'm using node-unshortener in an IRC bot that relays tweets, and a user requested that the page title be added to the link expansion. How difficult would this be to implement?

@Swizec
Copy link
Owner

Swizec commented Jun 3, 2011

It's not that difficult to implement, but I'm fairly certain it would need to fire another request to the URL to get the <title> tag. This is a problem from a performance standpoint, but I think if it was optional to demand meta-data about the page it could work out.

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

No branches or pull requests

2 participants