DEV Community

Momenul Ahmad
Momenul Ahmad

Posted on

Why do used to?

<script type='text/javascript'>
//<![CDATA[
var uri = window.location.toString();
if (uri.indexOf("/" + new Date().getFullYear() + "/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/1/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/1/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/12/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/12/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/11/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/11/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/10/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/10/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/9/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/9/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/8/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/8/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/7/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/7/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/6/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/6/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/5/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/5/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/4/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/4/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/3/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/3/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}
if (uri.indexOf("/" + new Date().getFullYear() + "/2/", "/")) {
    var clean_uri = uri.replace("/" + new Date().getFullYear() + "/2/", "/");
    window.history.replaceState({}, document.title, clean_uri);
}

//]]>
</script>
Enter fullscreen mode Exit fullscreen mode

Image of AssemblyAI tool

Transforming Interviews into Publishable Stories with AssemblyAI

Insightview is a modern web application that streamlines the interview workflow for journalists. By leveraging AssemblyAI's LeMUR and Universal-2 technology, it transforms raw interview recordings into structured, actionable content, dramatically reducing the time from recording to publication.

Key Features:
🎥 Audio/video file upload with real-time preview
🗣️ Advanced transcription with speaker identification
⭐ Automatic highlight extraction of key moments
✍️ AI-powered article draft generation
📤 Export interview's subtitles in VTT format

Read full post

Top comments (0)

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay