How to get HTML leaderboard into discord channel that auto updates - html

Is there anyway I can make this leaderboard show in a discord channel as as embedded or parae it to look directly like that, but show in a channel a dn auto update?
I’ve been trying all day and all I can do it get texts files to show on discord or a slipper sloppy website parse. Please Somone else , I just want to top 5-10 leaderboards user and for it to auto-update maybe every hour
enter image description here

Have you tried using Webhooks?
This Reddit post explains the process in detail
A Discord Bot might also be usable in this case

Related

How to direct clicks based on the original click and then a selection

Im failing to find the correct terms for what I'm looking to do. I'm not a coder but I can get it done If I get pointed in the correct direction.
I have a network of sites. A main website, a blog, and 3 different woocom stores (international legal reasons all 3 need to be completely separated) I need to be able post a link to a product,let's say "www.--.com/product-x", on the main site the blog or a stand alone link in maybe a Facebook post. Once a potential customer clicks on that link I want them to be sent to a region select page of which there are 3 options. But I don't want them to just be sent to the landing for the woocom store of there selection I want them to be sent to "na.--.com/product-x" or "eu.--.com/product-x"
If it were just 4 or 5 products I would just duplicate the region select page but this isn't realistic. I'd like to compile the "/product-x" part of the URL from where they clicked from,and the "na." And "eu." Part of the URL from there selection.
I'm willing to do some possibly cumbersome .htaccess upkeep or add the pathways individually each time a new product link gets made of that keeps things simpler but aibjust don't want 100 region select pages.
I am aware of Geo-redirects but I'm just not there yet. I for the world can not type the correct thing into Google to find any help on this, and it's not conceivable to me that this is an original idea.
What is this called?

webscraping the current page in its current state

ive webscraped before using beautiful soup by making a html request.
but now i dont want data from say wikipedia,i want data from something after it has been modified by the user. eg teslas website has this feature https://www.tesla.com/en_gb/models/design#battery where you personalize your car. suppose i wanted to open this page, change the settings from long range to high performance and THEN grab the inner html from
<span class="specs--value">
(how long it takes to go from 0 to 60)
how could i do this. write a script in python/c# which can grab data from the browser i currently have open, using what tools can i gather data from my current browser
ideally this will be for google chrome
edit:
alternate idea. perhaps i could make a post request which somehow recieves html data as if i did click on the high performance button. but how could i do that?
You could use selenium, It allows to simulate user navegation and extract data during the process.

ColdFusion Cookie/Form Submission Loophole

Okay so here is my problem. I have developed a framework which does the following:
If, for example, you have four webpages... but you only want to allow users to reach the "4th" webpage after progressing through pages 1-3 sequentially - I have built this functionality (basically I set an encrypted cookie keeping track of what the user has completed thus allowing to know what they should be able to access). There are two parts of it:
1) If a page does NOT have a quiz, the user must only visit the webpages sequentially to be allowed to view the 4th page in the "progression".
2) However, if a page has a quiz on it, the user must successfully pass the quiz to go on to the next sequential page.
Now... Here is the real biggie... The last page will often be a web form which, obviously, I only want an individual to fill out and submit if they have reached the form by sequentially getting to that last page in the progression... BUT I found a flaw in the system. If someone were to go completely through the progression and fill the form out... they could delete their browser's "form data" and go "back" to the form and allow a friend to fill the form out. That would be detrimental to the system, and the users who will be navigating this progression are GOING to look for ways to get around going through it.
Some of the suggestions I will probably get will not be possible given the larger framework I am in, but rather than list all of the impossibilities I would like to see what you guys thought would be a way of getting around this issue?
P.S. This functionality is built in HTML and ColdFusion.
Thank you for any feedback, it is a great help!
EDIT:
Keep in mind the user must be able to back track any previous page they already completed.

Send IconicTile Notification in Windows Phone

I am trying to send Iconic Tile Notification from Server to Client using node2dm. Node2dm provides us with 'mpns' module which I am using to send Messages. I want my notification to look like the first tile in the image and not like the second one.
Now I have two issue.
=>. First is, I am able to send notifications of second type where notification count appears in a circle. But I am not able to clear that notification count. I used
mpns.sendTile(pushUri, backgroundImage, count, title, backBackgroundImage)
for this. I tried sending count=0 for clearing the notification from tile but it didn't work.
=>. Second problem is, I tried sending notification of first type from above image since I was not able to clear the notification count for previous one. And also this looks more elegant. For this I used
mpns.sendIconicTile(pushUri, backgroundColor, count, title, iconImage, smallIconImage, wideContent1, wideContent2, wideContent3)
But with this. I am not even getting any tile update at all. There is an option of providing id in sendIconicTile() function, but I dont know what to pass it there. I don't have an id for my tile. Its primary default tile which I am trying to update, not a secondary tile. So I think 'id' shouldn't be required.
Can someone please help me with this. Or suggest some other way to update my tile.
Ok, I'm not familiar with node2dm, but I'll try to help. For the first problem, if you were sending notification by yourself you would set this line <wp:Count Action="Clear"></wp:Count> in notification XML payload. Now I'm not sure if you can do that with node2dm, but they should provide a way to set that.
The second problem looks as your client application doesn't have Iconic tile template. You need to change that in you app's WMAppManifest.xml. It needs to look something like this
<Tokens>
<PrimaryToken TokenID="YouAppNameToken" TaskName="_default">
<TemplateIconic>
<SmallImageURI IsResource="false" IsRelative="true">TileIcon.png</SmallImageURI>
<Count>0</Count>
<IconImageURI IsResource="false" IsRelative="true">TileIcon.png</IconImageURI>
<Title>Your title</Title>
</TemplateIconic>
</PrimaryToken>
</Tokens>

Forcing popup when coming from external websites (e.g google)

I work for a restaurant guide in the NW of the UK and we basically have featured restaurants (the ones who pay a monthly sub) and non-featured restaurants (the ones who get a basic free listing).
We were looking to get some kind of popup appearing on the non-featured restaurants, but only if they came from an external site, e.g Google.
So the steps would be:
1) User goes to google and puts in "name of unfeatured restaurant"
2) Our company comes up with the basic listing of that restaurant
3) User clicks the link but is then presented with a popup of featured restaurants
But, we would only need the popup to appear if the user has come from an external site. So if they were they came internally from our website the popup wouldn't show.
We use ASP at work and I was thinking it may possibly need some kind of a variable being passed through, or maybe something to do with cookies but I'm not an expert on the ASP side.
Hope someone can help on this :)
To see where a user came from you can try:
<%=Request.ServerVariables("HTTP_Referer")%>
This would contain the referring URL. if you want to use it on subsequent pages, you'll have to store it ofcourse in a cookie or session variable.